From 7129a359009b79b473cbad5bb895a5b7b9f37e6a Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 15 Nov 2021 02:20:37 +0100 Subject: [PATCH] add todo regarding reload safety --- InvenTree/plugin/apps.py | 1 + 1 file changed, 1 insertion(+) diff --git a/InvenTree/plugin/apps.py b/InvenTree/plugin/apps.py index 430dc3e125..89ce89ae88 100644 --- a/InvenTree/plugin/apps.py +++ b/InvenTree/plugin/apps.py @@ -59,6 +59,7 @@ class PluginAppConfig(AppConfig): def reload_plugins(self): """safely reload IntegrationPlugins""" + # TODO check if the system is in maintainance mode before reloading logger.info('Start reloading plugins') self.unload_plugins() self.load_plugins()