Skip to content

Commit

Permalink
Fix strange package import bug [PR#80: wzxjohn]
Browse files Browse the repository at this point in the history
  • Loading branch information
littlecodersh committed Sep 22, 2016
1 parent b9f3889 commit 4c2d3b8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pip install itchat
```python
import itchat

@itcaht.msg_register(itchat.content.TEXT)
@itchat.msg_register(itchat.content.TEXT)
def text_reply(msg):
itchat.send(msg['Text'], msg['FromUserName'])

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ With itchat, you only need to write this to reply personal text messages.
import itchat
@itcaht.msg_register(itchat.content.TEXT)
@itchat.msg_register(itchat.content.TEXT)
def text_reply(msg):
itchat.send(msg['Text'], msg['FromUserName'])
Expand Down
2 changes: 1 addition & 1 deletion README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ With itchat, you only need to write this to reply personal text messages.
```python
import itchat

@itcaht.msg_register(itchat.content.TEXT)
@itchat.msg_register(itchat.content.TEXT)
def text_reply(msg):
itchat.send(msg['Text'], msg['FromUserName'])

Expand Down
4 changes: 3 additions & 1 deletion itchat/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import time

from .client import client
from . import content # this is for creating pyc

__version__ = '1.1.5'
__version__ = '1.1.6'

__client = client()
def auto_login(hotReload=False, statusStorageDir='itchat.pkl', enableCmdQR=False):
Expand Down

0 comments on commit 4c2d3b8

Please sign in to comment.