Skip to content

Commit

Permalink
Merge pull request #208 from Haskely/patch-1
Browse files Browse the repository at this point in the history
Fix bugs that "infinite selector == 2" problem
  • Loading branch information
liuwons authored Mar 28, 2017
2 parents 68c1ca2 + 580edca commit f6a3bd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wxbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f6a3bd3

Please sign in to comment.