This commit is contained in:
2025-04-04 00:37:48 +02:00
parent a0eb6f544d
commit f9bc564b96

View File

@ -457,12 +457,13 @@ if _RESTORE:
if _BACKUP:
last = 1
while True:
directory = '/backups/'
count = len(fnmatch.filter(os.listdir(directory), '*'))
logging.info(f'File Count: {count}')
if last != count:
logging.info(f'File Count: {count}')
last = count
if count == 0:
time.sleep(10)
continue