Fix a typo spotted by @doobry in get_meta
for zip-based files
This commit is contained in:
parent
afeb3753a8
commit
463c0b62a1
@ -31,7 +31,7 @@ class ArchiveBasedAbstractParser(abstract.AbstractParser):
|
|||||||
metadata['comment'] = zipinfo.comment
|
metadata['comment'] = zipinfo.comment
|
||||||
|
|
||||||
if zipinfo.date_time != (1980, 1, 1, 0, 0, 0):
|
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
|
return metadata
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user