瀏覽代碼

refactor: 环境变量重命名为HBLOG_CONF

SongZihuan 2 年之前
父節點
當前提交
05ce05beb9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main.py

+ 1 - 1
main.py

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