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