This commit is contained in:
2025-09-03 00:39:24 +02:00
parent 298c9aee23
commit d949188a34

View File

@@ -244,6 +244,7 @@ def restore_job(_APP):
logging.info("Starting Restore") logging.info("Starting Restore")
now = datetime.datetime.now() now = datetime.datetime.now()
STARTTIME = now.strftime("%Y-%m-%d_%H:%M:%S") STARTTIME = now.strftime("%Y-%m-%d_%H:%M:%S")
_DATE = "pick"
if _APP == "all": if _APP == "all":
_DATE = "latest" _DATE = "latest"
if host == "rpi5.home.lan" or host == "rpi5": if host == "rpi5.home.lan" or host == "rpi5":
@@ -256,6 +257,7 @@ def restore_job(_APP):
#input("????") #input("????")
else: else:
_APP = _APP.split(",") _APP = _APP.split(",")
PROGRESS = 0 PROGRESS = 0
topic = "sectorq/amd/restore" topic = "sectorq/amd/restore"
step = 100 / len(_APP) step = 100 / len(_APP)