This commit is contained in:
2025-07-15 12:50:27 +02:00
parent e24304abe5
commit 1748a4d36f

View File

@@ -239,6 +239,7 @@ if _RESTORE:
step = 100 / len(_APP)
for app in _APP:
msg = {"mode":_MODE, "status":"restore","bak_name":"Restore","host":host,"cur_job":app,"start_time":STARTTIME,"end_time":"","progress":str(round(np.ceil(PROGRESS))) + "%","finished":1,"used_space":1}
msg = {"mode":_MODE, "status":"restore","bak_name":"Restore","host":host,"cur_job":app,"start_time":STARTTIME,"end_time":"","progress":"0" + "%","finished":1,"used_space":1}
logging.info(msg)
send_mqtt_message(msg)