From 0369148a153f1977a0695cd3ada586ae2a68c2fc Mon Sep 17 00:00:00 2001 From: brostos <67740566+brostosjoined@users.noreply.github.com> Date: Tue, 19 Aug 2025 23:17:42 +0300 Subject: [PATCH] Update path --- test/plugman_json_updater.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/plugman_json_updater.py b/test/plugman_json_updater.py index 77f0f90..a26b427 100644 --- a/test/plugman_json_updater.py +++ b/test/plugman_json_updater.py @@ -5,7 +5,7 @@ plugin_category = ["maps", "minigames", "utilities"] plugin_names_by_category = {} for category in plugin_category: - with open(f"{category}.json", "r+") as file: + with open(f"plugins/{category}/{category}.json", "r+") as file: data = json.load(file) plugins = data["plugins"] plugin_names_by_category[category] = list(plugins.keys()) @@ -24,3 +24,4 @@ for category in plugin_category: # Ensure old content is removed file.truncate() print(f"All {category} version have been upgraded") +