From d36ab0d9cda015399509c6a987699e0247f4aaea Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 20 Nov 2021 03:22:25 +0100 Subject: [PATCH] some more docs --- InvenTree/plugin/apps.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/InvenTree/plugin/apps.py b/InvenTree/plugin/apps.py index 657c2a1353..c79909e25e 100644 --- a/InvenTree/plugin/apps.py +++ b/InvenTree/plugin/apps.py @@ -70,13 +70,15 @@ class PluginAppConfig(AppConfig): logger.info('Database not accessible while loading plugins') except PluginLoadingError as error: logger.error(f'Encountered an error with {error.path}:\n{error.message}') - blocked_plugin = error.path + blocked_plugin = error.path # we will not try to load this app again # init apps without any integration plugins self._clean_registry() self._clean_installed_apps() self._activate_plugins(force_reload=True) + # now the loading will re-start up with init + # remove maintenance if not _maintenance: set_maintenance_mode(False)