浏览代码

typo: hblog_conf -> henglish_conf

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

+ 4 - 4
main.py

@@ -5,10 +5,10 @@ import logging
 
 
 env_dict = os.environ
-hblog_conf = env_dict.get("HENGLISH_CONF")
-if hblog_conf is not None:
-    logging.info(f"Configure file {hblog_conf}")
-    configure.configure(hblog_conf, encoding="utf-8")
+henglish_conf = env_dict.get("HENGLISH_CONF")
+if henglish_conf is not None:
+    logging.info(f"Configure file {henglish_conf}")
+    configure.configure(henglish_conf, encoding="utf-8")
 
 
 app = App.HEnglishFlask(__name__)