forked from AkkomaGang/akkoma
Remove unused @types
This commit is contained in:
parent
9e45672674
commit
b329f05ed6
1 changed files with 0 additions and 3 deletions
|
@ -9,9 +9,6 @@ defmodule Pleroma.Upload.Filter.Exiftool do
|
||||||
"""
|
"""
|
||||||
@behaviour Pleroma.Upload.Filter
|
@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
|
def filter(%Pleroma.Upload{tempfile: file, content_type: "image" <> _}) do
|
||||||
System.cmd("exiftool", ["-overwrite_original", "-gps:all=", file], parallelism: true)
|
System.cmd("exiftool", ["-overwrite_original", "-gps:all=", file], parallelism: true)
|
||||||
:ok
|
:ok
|
||||||
|
|
Loading…
Reference in a new issue