Add gitlab-ci
This commit is contained in:
parent
aa893e9d61
commit
e313ddb721
3 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue