mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Use backup_location variable
This commit is contained in:
parent
908ddc2d21
commit
d4503f1887
@ -1150,10 +1150,7 @@ class ServerInstance:
|
|||||||
)
|
)
|
||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
conf = HelpersManagement.get_backup_config(backup_id)
|
conf = HelpersManagement.get_backup_config(backup_id)
|
||||||
conf["backup_location"] = os.path.join(
|
backup_location = os.path.join(conf["backup_location"], conf["backup_id"])
|
||||||
conf["backup_location"], conf["backup_id"]
|
|
||||||
)
|
|
||||||
backup_location = conf["backup_location"]
|
|
||||||
if not backup_location:
|
if not backup_location:
|
||||||
Console.critical("No backup path found. Canceling")
|
Console.critical("No backup path found. Canceling")
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user