mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Include backup_id in delete call
This commit is contained in:
parent
90e11ef73e
commit
9186d9b02c
@ -414,10 +414,13 @@ class ApiServersServerBackupsBackupFilesIndexHandler(BaseApiHandler):
|
||||
"error_data": str(e),
|
||||
},
|
||||
)
|
||||
|
||||
try:
|
||||
FileHelpers.del_file(
|
||||
os.path.join(backup_conf["backup_location"], data["filename"])
|
||||
os.path.join(
|
||||
backup_conf["backup_location"],
|
||||
backup_conf["backup_id"],
|
||||
data["filename"],
|
||||
)
|
||||
)
|
||||
except Exception as e:
|
||||
return self.finish_json(
|
||||
|
Loading…
Reference in New Issue
Block a user