Browse Source

Merge pull request #145 from xuncl/master

fix a syntax
肖某 8 years ago
parent
commit
89aba487b5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      wxbot.py

+ 1 - 1
wxbot.py

@@ -1140,7 +1140,7 @@ class WXBot:
                 try:
                     retcode = self.sync_check()[0]
                 except:
-                    retcode == -1
+                    retcode = -1
                 if retcode == '0':
                     return True
         return False