Skip to content

Commit

Permalink
change push url
Browse files Browse the repository at this point in the history
  • Loading branch information
liuwangsheng01 committed Oct 11, 2016
1 parent 48b6e64 commit d358ce0
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 @@ -1244,7 +1244,7 @@ def sync_check(self):
'synckey': self.sync_key_str,
'_': int(time.time()),
}
url = 'https://' + self.sync_host + '.weixin.qq.com/cgi-bin/mmwebwx-bin/synccheck?' + urllib.urlencode(params)
url = 'https://' + self.sync_host + '.wx.qq.com/cgi-bin/mmwebwx-bin/synccheck?' + urllib.urlencode(params)
try:
r = self.session.get(url, timeout=60)
r.encoding = 'utf-8'
Expand Down

0 comments on commit d358ce0

Please sign in to comment.