Skip to content

Commit

Permalink
韩服fix, update文档
Browse files Browse the repository at this point in the history
  • Loading branch information
fffonion committed Aug 28, 2014
1 parent 5cb3d84 commit a4a4b2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)有一些参考配置
Expand Down
2 changes: 1 addition & 1 deletion maclient_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit a4a4b2c

Please sign in to comment.