Skip to content
Snippets Groups Projects
Commit 463c0b62 authored by Julien (jvoisin) Voisin's avatar Julien (jvoisin) Voisin
Browse files

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

parent afeb3753
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ class ArchiveBasedAbstractParser(abstract.AbstractParser): ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment