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:
other.append("Name *")
other.append([
other.extend([
"-backuploc",
backup.location,
"-maxbackups",
backup.max_backups,
str(backup.max_backups),
"-backupsuffix",
backup.backupsuffix,
"-backupprefix",