This commit is contained in:
2023-07-10 23:38:19 +02:00
parent f9ed0afbd4
commit 60c5723de6

View File

@@ -1034,13 +1034,13 @@ else:
NEXT_CHECK = 0
while True:
print(VERSION)
#print(VERSION)
time.sleep(5)
try:
mtime = os.path.getmtime(sys.argv[0])
except OSError:
mtime = 0
print(mtime)
#print(mtime)
if NEXT_CHECK < int(time.time()):
NEXT_CHECK = int(time.time()) + 20
writeLog("Blalala : Next : " + str(NEXT_CHECK))