diff options
author | Tristan Mahé <gled@remote-shell.net> | 2018-06-26 15:09:45 -0700 |
---|---|---|
committer | Tristan Mahé <gled@remote-shell.net> | 2018-06-26 15:09:45 -0700 |
commit | dc8ace29d12e8022ef7381d273724d7e5e7e3a19 (patch) | |
tree | d69c675b191db2be55db29639bb2c96addaf1e56 | |
parent | ca63585a329f0afa02f7d539328f5fb3485d2a29 (diff) | |
download | pleroma-dc8ace29d12e8022ef7381d273724d7e5e7e3a19.tar.gz |
use the correct end file
-rw-r--r-- | lib/pleroma/upload.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/upload.ex b/lib/pleroma/upload.ex index 45fac9060..dd2bbab9f 100644 --- a/lib/pleroma/upload.ex +++ b/lib/pleroma/upload.ex @@ -18,7 +18,7 @@ defmodule Pleroma.Upload do File.cp!(file.path, result_file) end - strip_exif_data(content_type, file.path) + strip_exif_data(content_type, result_file) %{ "type" => "Image", @@ -69,7 +69,7 @@ defmodule Pleroma.Upload do File.rename(uuidpath, result_file) end - strip_exif_data(content_type, uuidpath) + strip_exif_data(content_type, result_file) %{ "type" => "Image", |