Оновити 'lib/pleroma/upload/filter/exiftool.ex'
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
This commit is contained in:
parent
adb0a01d0a
commit
064a68793f
1 changed files with 0 additions and 1 deletions
|
@ -15,7 +15,6 @@ defmodule Pleroma.Upload.Filter.Exiftool do
|
|||
def filter(%Pleroma.Upload{content_type: "image/heic"}), do: {:ok, :noop}
|
||||
def filter(%Pleroma.Upload{content_type: "image/webp"}), do: {:ok, :noop}
|
||||
def filter(%Pleroma.Upload{content_type: "image/svg+xml"}), do: {:ok, :noop}
|
||||
|
||||
def filter(%Pleroma.Upload{tempfile: file, content_type: "image" <> _}) do
|
||||
try do
|
||||
case System.cmd("exiftool", ["-overwrite_original", "-gps:all=", file], parallelism: true) do
|
||||
|
|
Loading…
Reference in a new issue