Backup alert!
This commit is contained in:
parent
9835108141
commit
9d62d6fb61
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import time
|
import time
|
||||||
|
import json
|
||||||
import datetime
|
import datetime
|
||||||
import platform
|
import platform
|
||||||
from subprocess import *
|
from subprocess import *
|
||||||
|
@ -117,7 +118,7 @@ def file_open(win, path):
|
||||||
# ( The backup script should check the blend-files each 30
|
# ( The backup script should check the blend-files each 30
|
||||||
# seconds. But could take another 30 actually backing them up ).
|
# seconds. But could take another 30 actually backing them up ).
|
||||||
|
|
||||||
if time.time() + 60 > backup_lastcheck:
|
if time.time() - 60 > backup_lastcheck:
|
||||||
|
|
||||||
# Blender takes time to load. So it's important to delay the
|
# Blender takes time to load. So it's important to delay the
|
||||||
# notification a little bit.
|
# notification a little bit.
|
||||||
|
|
Loading…
Reference in a new issue