未验证 提交 328db6c8 编写于 作者: Z Zain 提交者: GitHub

UTF-8-sig

上级 15ad4e84
...@@ -187,7 +187,7 @@ class Task(object): ...@@ -187,7 +187,7 @@ class Task(object):
def init(): def init():
global api # 初始化时设置api global api # 初始化时设置api
config = ConfigParser() config = ConfigParser()
config.read('init.config', encoding='UTF-8') config.read('init.config', encoding='UTF-8-sig')
uin = config['token']['account'] uin = config['token']['account']
pwd = config['token']['password'] pwd = config['token']['password']
api = config['setting']['api'] api = config['setting']['api']
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册