magic_folder: typo utimes -> utime

This commit is contained in:
Ramakrishnan Muthukrishnan 2015-08-31 12:51:05 +05:30
parent f113db62ac
commit ef3cdd7db1

View File

@ -561,7 +561,7 @@ class Downloader(QueueMixin):
now = time.time() now = time.time()
fileutil.write(replacement_path, file_contents) fileutil.write(replacement_path, file_contents)
os.utimes(replacement_path, (now, now - cls.FUDGE_SECONDS)) os.utime(replacement_path, (now, now - cls.FUDGE_SECONDS))
if is_conflict: if is_conflict:
cls._rename_conflicted_file(path, replacement_path) cls._rename_conflicted_file(path, replacement_path)
else: else: