projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45bd64e
)
Remove Logger requirement
author
Roman Chvanikov
<chvanikoff@pm.me>
Sat, 11 Jul 2020 15:15:51 +0000
(18:15 +0300)
committer
Roman Chvanikov
<chvanikoff@pm.me>
Sat, 11 Jul 2020 15:15:51 +0000
(18:15 +0300)
lib/pleroma/upload/filter/exiftool.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/upload/filter/exiftool.ex
b/lib/pleroma/upload/filter/exiftool.ex
index 6a40e152f95e2bcdf770f3abe85dcf265d10278e..e1b976c980494ee112d75d5d0947b225ede1f4b5 100644
(file)
--- a/
lib/pleroma/upload/filter/exiftool.ex
+++ b/
lib/pleroma/upload/filter/exiftool.ex
@@
-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)