Changed login box to show currently logged in character with timer, and we now fetch the character image.

This commit is contained in:
blitzmann
2015-10-23 00:52:03 -04:00
parent e0f99ee133
commit 6e04c64ffb
3 changed files with 48 additions and 28 deletions

View File

@@ -9,7 +9,6 @@ import uuid
from wx.lib.pubsub import setupkwargs
from wx.lib.pubsub import pub
# TODO:
# With implicit grant, make sure we know when it expires and delete/inactive char
class Crest():
@@ -102,6 +101,7 @@ class Crest():
info = eve.whoami()
self.implicitCharacter = CrestUser(info['CharacterID'], info['CharacterName'])
self.implicitCharacter.eve = eve
self.implicitCharacter.fetchImage()
wx.CallAfter(pub.sendMessage, 'login_success', type=0)
elif 'code' in message: