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