From 076098a0e0a5ddc38d487590fffe12ce621b4982 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 15 May 2022 16:50:17 +0200 Subject: [PATCH] use static reference this is stupid but is required --- InvenTree/plugin/__init__.py | 2 +- InvenTree/plugin/events.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/plugin/__init__.py b/InvenTree/plugin/__init__.py index ae38ae6e5b..2f08d31eed 100644 --- a/InvenTree/plugin/__init__.py +++ b/InvenTree/plugin/__init__.py @@ -10,7 +10,7 @@ __all__ = [ 'registry', 'InvenTreePlugin', - IntegrationPluginBase, + 'IntegrationPluginBase', 'MixinNotImplementedError', 'MixinImplementationError', ] diff --git a/InvenTree/plugin/events.py b/InvenTree/plugin/events.py index 193a1805fe..bea1fafb25 100644 --- a/InvenTree/plugin/events.py +++ b/InvenTree/plugin/events.py @@ -5,5 +5,5 @@ Import helper for events from plugin.base.event.events import trigger_event __all__ = [ - trigger_event, + 'trigger_event', ]