Skip to content
Snippets Groups Projects
Commit 797f9fb7 authored by Florent Thiery's avatar Florent Thiery
Browse files

fix typo, refs #21677

parent 1905e3b7
No related branches found
No related tags found
No related merge requests found
...@@ -71,7 +71,7 @@ def check_local_backup(path): ...@@ -71,7 +71,7 @@ def check_local_backup(path):
for d in os.listdir(path): for d in os.listdir(path):
subd = os.path.join(path, d) subd = os.path.join(path, d)
latest = os.path.join(subd, 'latest') latest = os.path.join(subd, 'latest')
if os.exists(latest): if os.path.exists(latest):
mtime = os.path.getmtime(latest) mtime = os.path.getmtime(latest)
d = datetime.fromtimestamp(mtime) d = datetime.fromtimestamp(mtime)
now = datetime.now() now = datetime.now()
......
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