1
0
mirror of synced 2024-11-22 01:04:23 +01:00

Fix a typo spotted by @doobry in get_meta for zip-based files

This commit is contained in:
jvoisin 2018-04-03 23:59:02 +02:00
parent afeb3753a8
commit 463c0b62a1

View File

@ -31,7 +31,7 @@ class ArchiveBasedAbstractParser(abstract.AbstractParser):
metadata['comment'] = zipinfo.comment
if zipinfo.date_time != (1980, 1, 1, 0, 0, 0):
metadata['comment'] = datetime.datetime(*zipinfo.date_time)
metadata['date_time'] = datetime.datetime(*zipinfo.date_time)
return metadata