From cf49ffb8e8ec10919d5ca95add5f013db0552b6f Mon Sep 17 00:00:00 2001 From: furtest Date: Fri, 9 Jan 2026 18:31:00 +0100 Subject: [PATCH] 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. --- src/unisync/synchroniser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unisync/synchroniser.py b/src/unisync/synchroniser.py index 9646c06..f3a6c2c 100644 --- a/src/unisync/synchroniser.py +++ b/src/unisync/synchroniser.py @@ -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",