summaryrefslogtreecommitdiff
path: root/libmat/exiftool.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmat/exiftool.py')
-rw-r--r--libmat/exiftool.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmat/exiftool.py b/libmat/exiftool.py
index efe6002..83513b4 100644
--- a/libmat/exiftool.py
+++ b/libmat/exiftool.py
@@ -47,8 +47,8 @@ class ExiftoolStripper(parser.GenericParser):
47 field name : value 47 field name : value
48 field name : value 48 field name : value
49 """ 49 """
50 output = subprocess.Popen(['exiftool', self.filename], 50 output = str(subprocess.Popen(['exiftool', self.filename],
51 stdout=subprocess.PIPE).communicate()[0] 51 stdout=subprocess.PIPE).communicate()[0])
52 meta = {} 52 meta = {}
53 for i in output.split('\n')[:-1]: # chop last char ('\n') 53 for i in output.split('\n')[:-1]: # chop last char ('\n')
54 key = i.split(':')[0].strip() 54 key = i.split(':')[0].strip()