mirror of
https://gitlab.sectorq.eu/jaydee/omv_backup.git
synced 2025-07-01 15:48:33 +02:00
lala
This commit is contained in:
@ -306,6 +306,7 @@ if _BACKUP:
|
||||
time.sleep(10)
|
||||
continue
|
||||
else:
|
||||
finished = []
|
||||
now = datetime.datetime.now()
|
||||
STARTTIME = now.strftime("%Y-%m-%d_%H:%M:%S")
|
||||
msg = {"mode":_MODE, "status":"started","bak_name":"complete","host":"","cur_job":"","start_time":STARTTIME,"end_time":"in progress","progress":0,"finished":",".join(finished)}
|
||||
@ -313,7 +314,7 @@ if _BACKUP:
|
||||
client.disconnect()
|
||||
# iterate over files in
|
||||
# that directory
|
||||
finished = []
|
||||
|
||||
for filename in os.scandir(directory):
|
||||
if filename.is_file():
|
||||
print(filename.path)
|
||||
|
Reference in New Issue
Block a user