mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
AnayzeMetadata: Fix error case that would never match
This commit is contained in:
parent
03db495e1d
commit
b3214be32f
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ defmodule Pleroma.Upload.Filter.AnalyzeMetadata do
|
|||
%{width: width, height: height}
|
||||
else
|
||||
nil -> {:error, {:ffprobe, :command_not_found}}
|
||||
{:error, _} = error -> error
|
||||
error -> {:error, error}
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue