diff --git a/InvenTree/plugin/registry.py b/InvenTree/plugin/registry.py index 5db2bf0aca..9fcdb21a35 100644 --- a/InvenTree/plugin/registry.py +++ b/InvenTree/plugin/registry.py @@ -131,6 +131,8 @@ class Plugins: # region general plugin managment mechanisms def collect_plugins(self): """collect integration plugins from all possible ways of loading""" + self.plugin_modules = [] # clear + # Collect plugins from paths for plugin in settings.PLUGIN_DIRS: modules = inventree_plugins.get_plugins(importlib.import_module(plugin), IntegrationPluginBase, True)