diff --git a/src/unisync/runners.py b/src/unisync/runners.py index c2391ac..0e65dc9 100644 --- a/src/unisync/runners.py +++ b/src/unisync/runners.py @@ -6,6 +6,7 @@ from unisync.paths import PathsManager from unisync.config import Config def unisync_sync(synchroniser:Synchroniser, paths_manager:PathsManager, config: Config): + del config # The function signature must be the same for all runners if synchroniser.create_ssh_master_connection() != 0: print("Connection failed quitting") return 1 @@ -13,7 +14,7 @@ def unisync_sync(synchroniser:Synchroniser, paths_manager:PathsManager, config: synchroniser.sync_files(paths_manager.get_paths_to_sync()) synchroniser.sync_links(paths_manager.get_paths_to_sync()) - + # TODO check the config options and do or don't do the following synchroniser.update_links() #synchroniser.mount_remote_dir()