diff options
author | tusooa <tusooa@kazv.moe> | 2023-02-11 00:30:52 -0500 |
---|---|---|
committer | tusooa <tusooa@kazv.moe> | 2023-02-20 12:30:36 -0500 |
commit | 410d50afe5e76100047563bae7a0a461790883dd (patch) | |
tree | 1656bd1645fdffca92fa3e2c8b2a69f81110e5a7 /lib | |
parent | c69ae5f7c73c5ea0dba351509a9eb567303fcd81 (diff) | |
download | pleroma-410d50afe5e76100047563bae7a0a461790883dd.tar.gz pleroma-410d50afe5e76100047563bae7a0a461790883dd.zip |
Ignores in exiftool read descriptions
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/upload/filter/exiftool/read_description.ex | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/pleroma/upload/filter/exiftool/read_description.ex b/lib/pleroma/upload/filter/exiftool/read_description.ex index 03d698a81..543b22031 100644 --- a/lib/pleroma/upload/filter/exiftool/read_description.ex +++ b/lib/pleroma/upload/filter/exiftool/read_description.ex @@ -33,7 +33,10 @@ defmodule Pleroma.Upload.Filter.Exiftool.ReadDescription do defp read_when_empty(_, file, tag) do try do {tag_content, 0} = - System.cmd("exiftool", ["-b", "-s3", tag, file], stderr_to_stdout: true, parallelism: true) + System.cmd("exiftool", ["-b", "-s3", tag, file], + stderr_to_stdout: false, + parallelism: true + ) tag_content = String.trim(tag_content) |