mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Fix backup_database function to include the backup directory parameter
This commit is contained in:
parent
ed389185c8
commit
0651d109fb
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ try:
|
|||
LOGGER.info(f"Creating directory {directory} as it does not exist")
|
||||
directory.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
backup_database(datetime.now(), directory)
|
||||
backup_database(datetime.now(), backup_dir=directory)
|
||||
except SystemExit as se:
|
||||
status = se.code
|
||||
except:
|
||||
|
|
|
|||
Loading…
Reference in a new issue