From bb059904641a8e859256ad9ccca96c6feb5b12bb Mon Sep 17 00:00:00 2001 From: furtest Date: Thu, 8 Jan 2026 14:13:14 +0100 Subject: [PATCH] runners : pass config.backup to sync_files After adding the backup infrastructure to config and synchroniser the only thing left to do is pass the BackupConfig to sync_files. --- src/unisync/runners.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unisync/runners.py b/src/unisync/runners.py index af51ded..e36704d 100644 --- a/src/unisync/runners.py +++ b/src/unisync/runners.py @@ -11,7 +11,7 @@ def unisync_sync(synchroniser:Synchroniser, paths_manager:PathsManager, config: return 1 print("Connected to the remote.") - synchroniser.sync_files(paths_manager.get_paths_to_sync()) + synchroniser.sync_files(paths_manager.get_paths_to_sync(), backup=config.backup) synchroniser.sync_links(paths_manager.get_paths_to_sync()) # TODO check the config options and do or don't do the following