From 75ee7dbb91fd907b929041d7f0ca8321e6ca3c82 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 5 Nov 2023 15:28:40 -0500 Subject: media: changed code to work with update pyexiftool --- app/media/readexif.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/media') 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 -- cgit v1.2.3-70-g09d2