OSDN Git Service

fix user_log problem,昨晚PYTHON服务器503,所以禁止该代码,今日恢复
authortanyuliang <tanyuliang2@gmail.com>
Mon, 13 Jul 2015 01:25:20 +0000 (09:25 +0800)
committertanyuliang <tanyuliang2@gmail.com>
Mon, 13 Jul 2015 01:25:20 +0000 (09:25 +0800)
LoginGui.py

index 4a88527..006fed1 100644 (file)
@@ -44,7 +44,7 @@ class LoginFrame(wx.Frame):
                 pwd_txt = ''.join( [ str(x) for x in node_find.attrib.values()])
                 passwd0 = pc.decrypt(pwd_txt)
                 if self.passWord.GetValue()==passwd0:
-                    #urllib2.urlopen('http://chat-tyl.coding.io/user_log?info=User___'+self.userName.GetValue()+'___Login')
+                    urllib2.urlopen('http://chat-tyl.coding.io/user_log?info=User___'+self.userName.GetValue()+'___Login')
                     wx.MessageBox('Login Successful', 'Information', 
                     wx.OK | wx.ICON_INFORMATION)
                     self.Hide()