Fix another set of crashes with manual login

This commit is contained in:
DarkPhoenix
2019-08-30 15:36:34 +03:00
parent d15fefcf1b
commit 6f50be1e7e

View File

@@ -33,18 +33,12 @@ class SsoLogin(wx.Dialog):
self.SetSizer(bSizer1)
self.Center()
mainFrame.Bind(GE.EVT_SSO_LOGIN, self.OnLogin)
from service.esi import Esi
self.sEsi = Esi.getInstance()
uri = self.sEsi.getLoginURI(None)
webbrowser.open(uri)
def OnLogin(self, event):
self.EndModal(wx.ID_OK)
event.Skip()
class SsoLoginServer(wx.Dialog):