From aeb89674731b3adcad44ade03306512aa66ba7cd Mon Sep 17 00:00:00 2001 From: Oliver Date: Thu, 3 Feb 2022 16:06:00 +1100 Subject: [PATCH] PEP fixes --- InvenTree/plugin/apps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/plugin/apps.py b/InvenTree/plugin/apps.py index cfc20ec1aa..7af7ce9a7c 100644 --- a/InvenTree/plugin/apps.py +++ b/InvenTree/plugin/apps.py @@ -20,7 +20,7 @@ class PluginAppConfig(AppConfig): def ready(self): if settings.PLUGINS_ENABLED: - + if isImportingData(): logger.info('Skipping plugin loading for data import') else: