OSDN Git Service

修复登陆提示气泡
authortanyuliang <tanyuliang2@Gmail.com>
Sat, 15 Aug 2015 07:29:08 +0000 (15:29 +0800)
committertanyuliang <tanyuliang2@Gmail.com>
Sat, 15 Aug 2015 07:29:08 +0000 (15:29 +0800)
LoginGui.py

index 95bf2c6..69fe079 100644 (file)
@@ -93,7 +93,7 @@ class LoginFrame(wx.Frame):
                    wx.CallAfter(wx.MessageBox,_('Unable to fetch data'),_('Error'), wx.OK | wx.ICON_ERROR)
                    wx.CallAfter(self.loginButton.Enable)
                  time.sleep(0.1)
-                 wx.CallAfter(pub.sendMessage,'list.show', data=json.loads(data)) 
+                 wx.CallAfter(pub.sendMessage,'list.show', data=json.loads(data))
               else:
                 wx.CallAfter(wx.MessageBox,_('Your Password is wrong'), _('Try it again'), 
                 wx.OK | wx.ICON_ERROR)