missing semicolon, baka.

This commit is contained in:
2023-11-12 16:51:20 +01:00
parent 475cba3413
commit 15afcca468

View File

@@ -92,7 +92,7 @@ def restic_backup(dirpath: str, tagslist: list = None):
repo = arguments.remotehost
if repo.finds(":") != -1:
repo = f"{repo}//{arguments.repository}"
else
else:
repo = f"{repo}:/{arguments.repository}"
volumes = {dirpath: {'bind': dirpath, 'mode': 'ro'},
arguments.sshfolder: {'bind': '/root/.ssh', 'mode': 'ro'},