From 6102de1bf7e9f51334a56d14e18638da3cf151e6 Mon Sep 17 00:00:00 2001 From: taoky Date: Tue, 6 Aug 2024 23:00:08 +0800 Subject: [PATCH] Save remote_excluded.json to basedir --- shadowmire.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shadowmire.py b/shadowmire.py index ba90288..0a445d6 100755 --- a/shadowmire.py +++ b/shadowmire.py @@ -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 = []