From ecc7ba955443a4d5e8710905353aabf2145b305d Mon Sep 17 00:00:00 2001 From: Jeremy Date: Tue, 17 Dec 2024 21:59:39 +1100 Subject: [PATCH] fix naming --- ci/src/_utils.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ci/src/_utils.py b/ci/src/_utils.py index 951d17ba..b29ec75a 100644 --- a/ci/src/_utils.py +++ b/ci/src/_utils.py @@ -41,14 +41,13 @@ def plugin_reader() -> P: - plugin_files = get_plugin_file_paths() + plugin_file_paths = get_plugin_file_paths() manifests = [] - for plugin in plugin_files: - with open(plugin, "r", encoding="utf-8") as f: - manifest = json.load(f) - manifests.append(manifest) + for plugin_path in plugin_file_paths: + with open(plugin_path, "r", encoding="utf-8") as f: + manifests.append(json.load(f)) return manifests