summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitea <gitea@fake.local>2023-12-01 19:32:34 -0500
committerGitea <gitea@fake.local>2023-12-01 19:32:34 -0500
commit937775b28d30acd6557a824f4030f8d298c4ff59 (patch)
tree8f2840cb17936787fddf27b6a96ee38ef02186bb
parent1c3509f17c4280c346587070b4a81647634de5df (diff)
fixed exiftool setup for arch
-rw-r--r--app/media/readexif.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/media/readexif.py b/app/media/readexif.py
index 8b023b1..413d422 100644
--- a/app/media/readexif.py
+++ b/app/media/readexif.py
@@ -13,7 +13,7 @@ def readexif(image):
takes an image and fills in all the exif data tracked in the image model
"""
- with exiftool.ExifToolHelper() as et:
+ with exiftool.ExifTool(executable_="/usr/bin/vendor_perl/exiftool") as et:
meta = et.get_metadata(image.image.path)
et.terminate()
image.exif_raw = meta