Commit f38dc77b by rfkelly0

fix typo in calculation of modified_time

parent 50cdac04
......@@ -322,7 +322,7 @@ class SFTPFS(FS):
info['accessed_time'] = datetime.datetime.fromtimestamp(at)
mt = info.get('st_mtime', None)
if mt is not None:
info['modified_time'] = datetime.datetime.fromtimestamp(at)
info['modified_time'] = datetime.datetime.fromtimestamp(mt)
return info
@convert_os_errors
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment