diff --git a/src/unisync/paths.py b/src/unisync/paths.py index 6048c46..6bb6269 100644 --- a/src/unisync/paths.py +++ b/src/unisync/paths.py @@ -106,7 +106,7 @@ class PathsManager: if not is_contained and new_path not in paths_to_add: paths_to_add.append(new_path) - with self.paths_file.open("w") as f: + with self.paths_file.open("a") as f: for p in paths_to_add: f.write(p + "\n")