Fix default backup config

This commit is contained in:
amcmanu3 2024-06-13 15:54:47 -04:00
parent 8dd82f4111
commit 6ff561f40b

View File

@ -208,7 +208,7 @@ class ManagementController:
def add_default_backup_config(self, server_id, backup_path): def add_default_backup_config(self, server_id, backup_path):
return self.management_helper.add_backup_config( return self.management_helper.add_backup_config(
{ {
"backup_name": "afdgahah", "backup_name": "Default Backup",
"backup_location": Helpers.wtol_path(backup_path), "backup_location": Helpers.wtol_path(backup_path),
"max_backups": 0, "max_backups": 0,
"before": "", "before": "",
@ -217,6 +217,7 @@ class ManagementController:
"shutdown": False, "shutdown": False,
"server_id": server_id, "server_id": server_id,
"excluded_dirs": [], "excluded_dirs": [],
"default": True,
} }
) )