mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-26 23:07:24 +00:00
update settings
This commit is contained in:
parent
370cdc275a
commit
143cabe5fc
@ -25,7 +25,7 @@ sys.path.append(PROJECT_DIR)
|
|||||||
try:
|
try:
|
||||||
from config import config as env_config, env
|
from config import config as env_config, env
|
||||||
|
|
||||||
CONFIG = env_config.get(env or 'default')()
|
CONFIG = env_config.get(env, 'default')()
|
||||||
except ImportError:
|
except ImportError:
|
||||||
CONFIG = type('_', (), {'__getattr__': lambda arg1, arg2: None})()
|
CONFIG = type('_', (), {'__getattr__': lambda arg1, arg2: None})()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user