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