Browse Source

兼容sync,解决1102,0和-1,-1问题

兼容sync,解决1102,0和-1,-1问题
vivre 8 years ago
parent
commit
51c37e02b3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      wxbot.py

+ 1 - 1
wxbot.py

@@ -1116,7 +1116,7 @@ class WXBot:
         return dic['BaseResponse']['Ret'] == 0
 
     def test_sync_check(self):
-        for host1 in ['webpush', 'webpush2']:
+        for host1 in ['webpush.', 'webpush2.']:
             for host2 in ['weixin','weixin2','wx','wx2']:
             self.sync_host = host1+host2
                 try: