Remove Logger requirement

This commit is contained in:
Roman Chvanikov 2020-07-11 18:15:51 +03:00
parent 45bd64e2a7
commit 523f1b93a4

View file

@ -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)