Move to a central login() method

This commit is contained in:
Ryan Holmes
2018-03-17 20:23:14 -04:00
parent 00e8e9d84a
commit 033647da61
4 changed files with 10 additions and 4 deletions

View File

@@ -781,8 +781,7 @@ class APIView(wx.Panel):
def addCharacter(self, event):
sEsi = Esi.getInstance()
uri = sEsi.startServer()
webbrowser.open(uri)
sEsi.login()
def getActiveCharacter(self):
selection = self.charChoice.GetCurrentSelection()