Browse Source

Fixed syntax error

gjwang 9 years ago
parent
commit
ba0885bbca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      wxbot.py

+ 1 - 1
wxbot.py

@@ -596,7 +596,7 @@ class WXBot:
         
         result = self.wait4login()
         if result != SUCCESS:
-            print '[ERROR] Web WeChat login failed. failed code=result'%(result, )
+            print '[ERROR] Web WeChat login failed. failed code=%s'%(result, )
             return
         
         if self.login():