mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-13 10:35:40 +00:00
Allow plugin load in shell (#6195)
This commit is contained in:
@ -27,7 +27,7 @@ class PluginAppConfig(AppConfig):
|
||||
if not isInMainThread():
|
||||
return
|
||||
|
||||
if not canAppAccessDatabase(allow_test=True, allow_plugins=True):
|
||||
if not canAppAccessDatabase(allow_test=True, allow_plugins=True, allow_shell=True):
|
||||
logger.info("Skipping plugin loading sequence") # pragma: no cover
|
||||
else:
|
||||
logger.info('Loading InvenTree plugins')
|
||||
|
Reference in New Issue
Block a user