paths : fixes write_new_paths writing of the file

I was writing the file using 'w' instead of 'a' so the old paths were
deleted use 'a'.
This commit is contained in:
2026-01-01 18:51:45 +01:00
parent 5af5374f77
commit 89fa5bca70

View File

@@ -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")