From e762ec676d2333bef1b7694bdae259977f75901a Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 20 Nov 2021 17:29:06 +0100 Subject: [PATCH] simplify imports --- InvenTree/plugin/plugins.py | 2 +- InvenTree/plugin/registry.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/InvenTree/plugin/plugins.py b/InvenTree/plugin/plugins.py index 66f841d95b..2827ec590c 100644 --- a/InvenTree/plugin/plugins.py +++ b/InvenTree/plugin/plugins.py @@ -14,7 +14,7 @@ import plugin.builtin.action as action from plugin.action import ActionPlugin # Integration -from plugin.integration import IntegrationPluginBase +from .integration import IntegrationPluginBase logger = logging.getLogger("inventree") diff --git a/InvenTree/plugin/registry.py b/InvenTree/plugin/registry.py index 85f58e8ec6..2e7b19baec 100644 --- a/InvenTree/plugin/registry.py +++ b/InvenTree/plugin/registry.py @@ -26,8 +26,8 @@ from maintenance_mode.core import maintenance_mode_on from maintenance_mode.core import get_maintenance_mode, set_maintenance_mode from plugin import plugins as inventree_plugins -from plugin.integration import IntegrationPluginBase -from plugin.helpers import get_plugin_error, IntegrationPluginError +from .integration import IntegrationPluginBase +from .helpers import get_plugin_error, IntegrationPluginError logger = logging.getLogger('inventree')