From daa511ef2a7cb11225d57e79263b9c425b5f70ba Mon Sep 17 00:00:00 2001 From: amcmanu3 Date: Sun, 26 May 2024 15:20:18 -0400 Subject: [PATCH] Remove print statements --- app/classes/shared/server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/classes/shared/server.py b/app/classes/shared/server.py index f223133f..7db3b7fb 100644 --- a/app/classes/shared/server.py +++ b/app/classes/shared/server.py @@ -1272,7 +1272,8 @@ class ServerInstance: ) self.run_threaded_server(HelperUsers.get_user_id_by_name("system")) HelpersManagement.update_backup_config( - backup_id, {"status": json.dumps({"status": "Failed", "message": f"{e}"})} + backup_id, + {"status": json.dumps({"status": "Failed", "message": f"{e}"})}, ) self.set_backup_status() @@ -1283,7 +1284,6 @@ class ServerInstance: backups = HelpersManagement.get_backups_by_server(self.server_id, True) alert = False for backup in backups: - print(backup.status) if json.loads(backup.status)["status"] == "Failed": alert = True self.last_backup_failed = alert