diff --git a/lib/philomena/processors/jpeg.ex b/lib/philomena/processors/jpeg.ex index e4dde2ff..b5cef344 100644 --- a/lib/philomena/processors/jpeg.ex +++ b/lib/philomena/processors/jpeg.ex @@ -27,7 +27,7 @@ defmodule Philomena.Processors.Jpeg do with {output, 0} <- System.cmd("identify", ["-format", "%[orientation]\t%[profile:icc]", file]), [orientation, profile] <- String.split(output, "\t") do - orientation != "Undefined" or profile != "" + orientation not in ["Undefined", "TopLeft"] or profile != "" else _ -> true