1
0
Fork 0
mirror of synced 2025-07-04 20:37:34 +02:00

Add gitlab-ci

This commit is contained in:
jvoisin 2018-03-25 17:42:29 +02:00
parent aa893e9d61
commit e313ddb721
3 changed files with 7 additions and 2 deletions

View file

@ -19,7 +19,7 @@ class JPGParser(abstract.AbstractParser):
def get_meta(self):
out = subprocess.check_output(['exiftool', '-json', self.filename])
meta = json.loads(out)[0]
meta = json.loads(out.decode('utf-8'))[0]
for key in self.meta_whitelist:
meta.pop(key, None)
return meta