Skip to content
This repository has been archived by the owner on Aug 23, 2020. It is now read-only.

Commit

Permalink
修正 python3 下 qq 命令出错的 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
pandolia committed May 25, 2017
1 parent 7b93e58 commit 43e65cf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion changes
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
2017-05-25 qqbot v2.2.18
1) 因协议调整, poll 消息时不再忽略 1202 代码。
2) 修正 setup.py 中的 bug ,(此 bug 导致需要手动安装依赖后,才能安装本程序)。
3) 修正 python3 下 qq 命令出错的 bug ,感谢 @007pig 反馈。
3) 修正 python3 下 qq 命令出错的 bug , 感谢 @007pig 反馈。

2017-05-24 qqbot v2.2.15
1) 去掉 flask ,采用简单的 socket server 来显示二维码。
Expand Down
2 changes: 1 addition & 1 deletion qqbot/mysocketserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def onData(self, sock, addr, data):
resp = self.response(data)
except Exception as e:
resp = '%s 在处理 %s:%s 的请求时发生错误,%s' % (self.name, addr[0], addr[1], e)
ERROR(resp, exc_info=True)
ERROR(resp, exc_info = True)
resp = STR2BYTES(resp)

try:
Expand Down
2 changes: 1 addition & 1 deletion qqbot/qconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
版本:
{VERSION}\
'''.format(PROGNAME=progname, VERSION=version)
'''.format(PROGNAME=progname, VERSION=version)

deprecatedConfKeys = ['fetchInterval', 'monitorTables']

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
install_requires = ['requests', 'certifi', 'apscheduler'],
description = "QQBot: A conversation robot base on Tencent's SmartQQ",
author = 'pandolia',
author = 'pandolia' ,
author_email = 'pandolia@yeah.net',
url = 'https://github.com/pandolia/qqbot/',
download_url = 'https://github.com/pandolia/qqbot/archive/%s.tar.gz' % version,
Expand Down

0 comments on commit 43e65cf

Please sign in to comment.