summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mat/mat.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mat/mat.py b/mat/mat.py
index 1700561..4e959d4 100644
--- a/mat/mat.py
+++ b/mat/mat.py
@@ -54,10 +54,11 @@ except ImportError:
54 print('Unable to import python-mutagen: limited audio format support') 54 print('Unable to import python-mutagen: limited audio format support')
55 55
56try: 56try:
57 # check if exiftool is installed on the system
57 subprocess.Popen('exiftool', stdout=open('/dev/null')) 58 subprocess.Popen('exiftool', stdout=open('/dev/null'))
58 import exiftool 59 import exiftool
59 STRIPPERS['image/jpeg'] = exiftool.JpegStripper 60 STRIPPERS['image/jpeg'] = exiftool.JpegStripper
60 STRIPPERS['image/png'] = images.PngStripper 61 STRIPPERS['image/png'] = exiftool.PngStripper
61except: 62except:
62 print('Unable to find exiftool: limited images support') 63 print('Unable to find exiftool: limited images support')
63 STRIPPERS['image/jpeg'] = images.JpegStripper 64 STRIPPERS['image/jpeg'] = images.JpegStripper