Fix (hack at) pycrest to fix caching issue when getting another character.

This commit is contained in:
blitzmann
2015-10-23 01:21:51 -04:00
parent 6e04c64ffb
commit 953a70327a
3 changed files with 23 additions and 15 deletions

View File

@@ -76,6 +76,9 @@ class Crest():
char = CrestUser(info['CharacterName'], info['CharacterID'], connection.refresh_token)
eos.db.save(char)
def logout(self):
self.implicitCharacter = None
def startServer(self):
thread.start_new_thread(self.httpd.serve, ())
self.state = str(uuid.uuid4())