summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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