From d4503f18871f4a014ba7070b47895f19c2ebb336 Mon Sep 17 00:00:00 2001 From: amcmanu3 Date: Thu, 13 Jun 2024 16:06:04 -0400 Subject: [PATCH] Use backup_location variable --- app/classes/shared/server.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/classes/shared/server.py b/app/classes/shared/server.py index 8ebe4450..1301c86e 100644 --- a/app/classes/shared/server.py +++ b/app/classes/shared/server.py @@ -1150,10 +1150,7 @@ class ServerInstance: ) time.sleep(3) conf = HelpersManagement.get_backup_config(backup_id) - conf["backup_location"] = os.path.join( - conf["backup_location"], conf["backup_id"] - ) - backup_location = conf["backup_location"] + backup_location = os.path.join(conf["backup_location"], conf["backup_id"]) if not backup_location: Console.critical("No backup path found. Canceling") return None