1
0
Эх сурвалжийг харах

refactor: 环境变量重命名为HBLOG_CONF

SongZihuan 2 жил өмнө
parent
commit
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")