From 18694c9b9e008c1a6afb61ffd4c191d709a0d3e3 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 25 Sep 2021 01:27:20 +0200 Subject: [PATCH] name refactor --- InvenTree/plugins/plugins.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/plugins/plugins.py b/InvenTree/plugins/plugins.py index e01b259dfe..79a5a3f40e 100644 --- a/InvenTree/plugins/plugins.py +++ b/InvenTree/plugins/plugins.py @@ -71,8 +71,8 @@ def load_plugins(name: str, module, cls): if len(plugins) > 0: logger.info("Discovered %i %s plugins:", len(plugins), name) - for ap in plugins: - logger.debug(" - %s", ap.PLUGIN_NAME) + for plugin in plugins: + logger.debug(" - %s", plugin.PLUGIN_NAME) return plugins