浏览代码

fix: 配置环境变量设置为HTALK_CONF

SongZihuan 2 年之前
父节点
当前提交
425aee4dff
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -4,7 +4,7 @@ import os
 import logging
 import logging
 
 
 env_dict = os.environ
 env_dict = os.environ
-hblog_conf = env_dict.get("hblog_conf")
+hblog_conf = env_dict.get("HTALK_CONF")
 if hblog_conf is None:
 if hblog_conf is None:
     logging.info("Configure file ./etc/conf.json")
     logging.info("Configure file ./etc/conf.json")
     configure("./etc/conf.json")
     configure("./etc/conf.json")