diff --git a/wxbot.py b/wxbot.py index 7e38ce5..837bc66 100644 --- a/wxbot.py +++ b/wxbot.py @@ -1402,7 +1402,7 @@ def sync(self): r.encoding = 'utf-8' dic = json.loads(r.text) if dic['BaseResponse']['Ret'] == 0: - self.sync_key = dic['SyncKey'] + self.sync_key = dic['SyncCheckKey'] self.sync_key_str = '|'.join([str(keyVal['Key']) + '_' + str(keyVal['Val']) for keyVal in self.sync_key['List']]) return dic