Save remote_excluded.json to basedir

This commit is contained in:
taoky 2024-08-06 23:00:08 +08:00
parent 5585de30ce
commit 6102de1bf7

View File

@ -433,7 +433,7 @@ class SyncBase:
"""
remote = self.fetch_remote_versions()
remote = self.filter_remote_with_excludes(remote, excludes)
with open("remote_excluded.json", "w") as f:
with open(self.basedir / "remote_excluded.json", "w") as f:
json.dump(remote, f)
to_remove = []