diff --git a/README.md b/README.md index 1db04e5..5ea5706 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,9 @@ MAClient可以在支持websocket的浏览器上运行![chaojibang](http://ww1.si ###Linux/OS X/wwww 需要下载修改的[httplib2库](https://github.com/fffonion/httplib2-plus),自行编译PyCrypto库 +####韩服依赖库 +使用韩服的娃请至[release](https://github.com/fffonion/MAClient/releases)中下载适合自己系统的依赖库;依赖库暂时不开源 + MAClient可以在python2.x和3.x上运行 ```shell git clone --recursive https://github.com/fffonion/MAClient.git @@ -45,6 +48,7 @@ python build_cython_ext.py build_ext --inplace ``` + ##配置文件说明 参考config_sample.ini,以及[**这里**](http://pan.baidu.com/s/19qI4m#dir/path=%2FApp%2FMAClient%2F%E7%A4%BA%E4%BE%8B%E9%85%8D%E7%BD%AE)有一些参考配置 diff --git a/maclient_player.py b/maclient_player.py index 9dc5c62..01fd6db 100644 --- a/maclient_player.py +++ b/maclient_player.py @@ -190,7 +190,7 @@ def update(self, carddict): for elem in p: # store as int try: self.cards[-1][elem] = int(getattr(p, elem)) - except (TypeError, UnicodeEncodeError): #not decimal + except (TypeError, UnicodeEncodeError, ValueError): #not decimal pass self.count = len(self.cards) # print self.cid('124')