mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
Allow plugin load in shell (#6195)
This commit is contained in:
parent
4f4852e2e7
commit
5135d6b5d1
@ -27,7 +27,7 @@ class PluginAppConfig(AppConfig):
|
|||||||
if not isInMainThread():
|
if not isInMainThread():
|
||||||
return
|
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
|
logger.info("Skipping plugin loading sequence") # pragma: no cover
|
||||||
else:
|
else:
|
||||||
logger.info('Loading InvenTree plugins')
|
logger.info('Loading InvenTree plugins')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user