diff --git a/omv_backup_v4.py b/omv_backup_v4.py index 0514d6b..d5ead5a 100755 --- a/omv_backup_v4.py +++ b/omv_backup_v4.py @@ -445,12 +445,7 @@ if _RESTORE: ans = input("continue?") or "n" if ans == "y" and _EXECUTE: status, output = subprocess.getstatusoutput(cmnd) - now = datetime.datetime.now() - ENDTIME = now.strftime("%Y-%m-%d_%H:%M:%S") - msg = {"status":"finished","bak_name":app,"start_time":DATETIME,"end_time":ENDTIME,"progress":0} - send_mqtt_message(msg) - - now = datetime.datetime.now() + now = datetime.datetime.now() ENDJOB = now.strftime("%Y-%m-%d_%H:%M:%S") logging.info("Sending finished status")