mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-16 23:38:36 +00:00
[Update] 修改配置文件加载
This commit is contained in:
2
jms
2
jms
@@ -18,7 +18,7 @@ try:
|
||||
from apps.jumpserver.conf import load_user_config
|
||||
CONFIG = load_user_config()
|
||||
except ImportError:
|
||||
print("Could not find config file, `cp config_example.py config.py`")
|
||||
print("Could not find config file, `cp config_example.yml config.yml`")
|
||||
sys.exit(1)
|
||||
|
||||
os.environ["PYTHONIOENCODING"] = "UTF-8"
|
||||
|
Reference in New Issue
Block a user