Remove Logger requirement
This commit is contained in:
parent
45bd64e2a7
commit
523f1b93a4
|
@ -9,8 +9,6 @@ defmodule Pleroma.Upload.Filter.Exiftool do
|
|||
"""
|
||||
@behaviour Pleroma.Upload.Filter
|
||||
|
||||
require Logger
|
||||
|
||||
def filter(%Pleroma.Upload{tempfile: file, content_type: "image" <> _}) do
|
||||
if Pleroma.Utils.command_available?("exiftool") do
|
||||
System.cmd("exiftool", ["-overwrite_original", "-gps:all=", file], parallelism: true)
|
||||
|
|
Loading…
Reference in a new issue