AnayzeMetadata: Fix error case that would never match
This commit is contained in:
parent
03db495e1d
commit
b3214be32f
@ -78,7 +78,7 @@ defmodule Pleroma.Upload.Filter.AnalyzeMetadata do
|
|||||||
%{width: width, height: height}
|
%{width: width, height: height}
|
||||||
else
|
else
|
||||||
nil -> {:error, {:ffprobe, :command_not_found}}
|
nil -> {:error, {:ffprobe, :command_not_found}}
|
||||||
{:error, _} = error -> error
|
error -> {:error, error}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user