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:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user