Backup alert!

This commit is contained in:
Jeison Yehuda Amihud (Blender Dumbass) 2023-02-26 17:47:58 +00:00
parent 9835108141
commit 9d62d6fb61

View file

@ -3,6 +3,7 @@
import os
import time
import json
import datetime
import platform
from subprocess import *
@ -117,7 +118,7 @@ def file_open(win, path):
# ( The backup script should check the blend-files each 30
# 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
# notification a little bit.