mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
do not write to db
This commit is contained in:
parent
3606bd8fe4
commit
eef51600c5
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user