1
0
Fork 0
mirror of synced 2025-07-03 03:47:20 +02:00

Please a bit the CI

This commit is contained in:
jvoisin 2021-11-21 11:02:22 +01:00
parent 0c91ac7367
commit fb7440ab5d
3 changed files with 3 additions and 3 deletions

View file

@ -108,7 +108,7 @@ class EPUBParser(archive.ZipParser):
item.append(uniqid)
# items without mandatory content
for name in {'language', 'title'}:
for name in ['language', 'title']:
uniqid = ET.Element(self.metadata_namespace + name)
item.append(uniqid)
break # there is only a single <metadata> block

View file

@ -50,7 +50,7 @@ class AbstractFFmpegParser(exiftool.ExiftoolParser):
ret = dict() # type: Dict[str, Union[str, dict]]
for key, value in meta.items():
if key in self.meta_key_value_allowlist.keys():
if key in self.meta_key_value_allowlist:
if value == self.meta_key_value_allowlist[key]:
continue
ret[key] = value