Browse Source

fix a syntax

修复之前vivre90更新的一点小疏忽
xuncl 8 years ago
parent
commit
8ca318ffb0
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