提交 8552e826 编写于 作者: Eric.Lee2021's avatar Eric.Lee2021 🚴🏻

change open config utf-8

上级 82fbc3a1
......@@ -4,7 +4,7 @@ import os
def parse_data_cfg(path):
print('data_cfg : ',path)
options = dict()
with open(path, 'r') as fp:
with open(path, 'r',encoding='UTF-8') as fp:
lines = fp.readlines()
for line in lines:
line = line.strip()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册