fixed reference to old config layout
This commit is contained in:
parent
d3529b6522
commit
07cbf162b7
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ class NextcloudManager(backup_manager.BackupManager):
|
|||
|
||||
def main():
|
||||
config = read_config()
|
||||
os.chdir(config["BACKUP_DOCKER_DIR"])
|
||||
os.chdir(config["common"]["BACKUP_DOCKER_DIR"])
|
||||
backup_manager = NextcloudManager()
|
||||
if not backup_manager.enable_maintenance():
|
||||
backup_manager.disable_maintenance()
|
||||
|
|
|
|||
Loading…
Reference in a new issue