From 0a52cb47155c1bb65613909390f498d31c21084c Mon Sep 17 00:00:00 2001 From: Youfou Date: Sun, 9 Apr 2017 14:44:29 +0800 Subject: [PATCH] fix Tuling context user id bug --- wxpy/__init__.py | 2 +- wxpy/ext/tuling.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wxpy/__init__.py b/wxpy/__init__.py index 3a6f4e6..86a6edf 100644 --- a/wxpy/__init__.py +++ b/wxpy/__init__.py @@ -54,7 +54,7 @@ def reply_my_friend(msg): from .utils import dont_raise_response_error, embed, ensure_one, mutual_friends __title__ = 'wxpy' -__version__ = '0.3.4' +__version__ = '0.3.4.1' __author__ = 'Youfou' __license__ = 'MIT' __copyright__ = '2017, Youfou' diff --git a/wxpy/ext/tuling.py b/wxpy/ext/tuling.py index 8c3a6b9..be78f29 100644 --- a/wxpy/ext/tuling.py +++ b/wxpy/ext/tuling.py @@ -131,7 +131,7 @@ def get_location(_chat): payload = dict( key=self.api_key, info=info, - user_id=user_id, + userid=user_id, loc=location )