We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29b519f commit ce1d5ddCopy full SHA for ce1d5dd
1 file changed
fs/zipfs.py
@@ -284,10 +284,10 @@ def getinfo(self, path):
284
if callable(v):
285
zinfo[k] = v()
286
except KeyError:
287
- zinfo = {'file_size':0}
288
- info = {'size' : zinfo['file_size']}
+ zinfo = {'file_size': 0}
+ info = {'size': zinfo['file_size']}
289
if 'date_time' in zinfo:
290
- info['created_time'] = datetime.datetime(*zinfo['date_time'])
+ info['modified_time'] = info['created_time'] = datetime.datetime(*zinfo['date_time'])
291
info.update(zinfo)
292
if 'FileHeader' in info:
293
del info['FileHeader']
0 commit comments