[Update] 修改配置文件加载

This commit is contained in:
ibuler
2019-01-17 20:38:56 +08:00
parent d664018bd7
commit d8069f47f2
2 changed files with 4 additions and 5 deletions

2
jms
View File

@@ -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"