synchroniser : fix broken synchronisation

Append was used instead of extend which made a list inside of a list
instead of appending the content at the end fix that.
Convert backup.maxbackups to str as needed for subprocess.
This commit is contained in:
2026-01-09 18:31:00 +01:00
parent c34d30a006
commit cf49ffb8e8

View File

@@ -141,11 +141,11 @@ class Synchroniser:
else: else:
other.append("Name *") other.append("Name *")
other.append([ other.extend([
"-backuploc", "-backuploc",
backup.location, backup.location,
"-maxbackups", "-maxbackups",
backup.max_backups, str(backup.max_backups),
"-backupsuffix", "-backupsuffix",
backup.backupsuffix, backup.backupsuffix,
"-backupprefix", "-backupprefix",