From eef51600c50f179efbc83e2fab483a29e7d8998e Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 20 Mar 2022 18:10:42 +0100 Subject: [PATCH] do not write to db --- 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 ff03fdd04e..c611f6f8c1 100644 --- a/InvenTree/plugin/apps.py +++ b/InvenTree/plugin/apps.py @@ -32,7 +32,7 @@ class PluginAppConfig(AppConfig): # this is the first startup try: from common.models import InvenTreeSetting - if InvenTreeSetting.get_setting('PLUGIN_ON_STARTUP'): + if InvenTreeSetting.get_setting('PLUGIN_ON_STARTUP', create=False): # make sure all plugins are installed registry.install_plugin_file() except: