Compare commits
2 Commits
f40a5c9276
...
ec8030fc81
| Author | SHA1 | Date | |
|---|---|---|---|
|
ec8030fc81
|
|||
|
f050dcc94f
|
@@ -95,7 +95,7 @@ def load_config(config_path:str) -> Config:
|
||||
config.get(roots_section, "remote")
|
||||
)
|
||||
other_config = OtherConfig(
|
||||
config.get(other_section, "cache_dir_path", fallback=DEFAULT_MISC_CACHE_DIR_PATH)
|
||||
Path(config.get(other_section, "cache_dir_path", fallback=DEFAULT_MISC_CACHE_DIR_PATH)).expanduser()
|
||||
)
|
||||
|
||||
args_bool = list()
|
||||
|
||||
@@ -12,9 +12,10 @@ def unisync_sync(synchroniser:Synchroniser, paths_manager:PathsManager):
|
||||
print("Connected to the remote.")
|
||||
|
||||
synchroniser.sync_files(paths_manager.get_paths_to_sync())
|
||||
synchroniser.update_links(background=False)
|
||||
|
||||
# TODO check the config options
|
||||
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()
|
||||
|
||||
synchroniser.close_ssh_master_connection()
|
||||
|
||||
Reference in New Issue
Block a user