projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e45672
)
Remove unused @types
author
Mark Felder
<feld@FreeBSD.org>
Fri, 10 Jul 2020 22:08:54 +0000
(17:08 -0500)
committer
Mark Felder
<feld@FreeBSD.org>
Fri, 10 Jul 2020 22:08:54 +0000
(17:08 -0500)
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 eb199709ae3f3bdae0c8ef945841fd3d33b8e2b2..c7fb6aefa95e87d69b5ce3fd24681ce2984a9ce3 100644
(file)
--- a/
lib/pleroma/upload/filter/exiftool.ex
+++ b/
lib/pleroma/upload/filter/exiftool.ex
@@
-9,9
+9,6
@@
defmodule Pleroma.Upload.Filter.Exiftool do
"""
@behaviour Pleroma.Upload.Filter
- @type conversion :: action :: String.t() | {action :: String.t(), opts :: String.t()}
- @type conversions :: conversion() | [conversion()]
-
def filter(%Pleroma.Upload{tempfile: file, content_type: "image" <> _}) do
System.cmd("exiftool", ["-overwrite_original", "-gps:all=", file], parallelism: true)
:ok