mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-04 16:01:50 +00:00
Fix to return a boolean value (#4018)
(cherry picked from commit 92cada658a2aaa1e39afed280336644c4c0067ab)
This commit is contained in:
1 parent
4ad88c7822
commit
de0c7ec712
1 file changed
+1
-1
@@ -1372,7 +1372,7 @@ class InvenTreeSetting(BaseInvenTreeSetting):
|
||||
'PLUGIN_ON_STARTUP': {
|
||||
'name': _('Check plugins on startup'),
|
||||
'description': _('Check that all plugins are installed on startup - enable in container environments'),
|
||||
'default': os.getenv('INVENTREE_DOCKER', False),
|
||||
'default': str(os.getenv('INVENTREE_DOCKER', False)).lower() in ['1', 'true'],
|
||||
'validator': bool,
|
||||
'requires_restart': True,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user