summaryrefslogtreecommitdiff
path: root/app/media
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2023-11-05 15:28:40 -0500
committerluxagraf <sng@luxagraf.net>2023-11-05 15:28:40 -0500
commit75ee7dbb91fd907b929041d7f0ca8321e6ca3c82 (patch)
treeebb81b24f3d2154e4fb323339ef9bad97d6bba0b /app/media
parent9a49497c662f493398150933a183a284a47ea60e (diff)
media: changed code to work with update pyexiftool
Diffstat (limited to 'app/media')
-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 70a6987..8b023b1 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.ExifTool() as et:
+ with exiftool.ExifToolHelper() as et:
meta = et.get_metadata(image.image.path)
et.terminate()
image.exif_raw = meta