This commit is contained in:
2023-11-12 17:02:49 +01:00
parent db5162600b
commit da7902c9b8

View File

@@ -90,7 +90,7 @@ def restic_backup(dirpath: str, tagslist: list = None):
dryrun = "--dry-run"
repo = arguments.remotehost
if repo.finds(":") != -1:
if repo.find(":") != -1:
repo = f"{repo}//{arguments.repository}"
else:
repo = f"{repo}:/{arguments.repository}"