(self, id)
| 94 | self.mainFrame = gui.mainFrame.MainFrame.getInstance() |
| 95 | |
| 96 | def delSsoCharacter(self, id): |
| 97 | char = eos.db.getSsoCharacter(id, config.getClientSecret()) |
| 98 | |
| 99 | # There is an issue in which the SSO character is not removed from any linked characters - a reference to the |
| 100 | # sso character remains even though the SSO character is deleted which should have deleted the link. This is a |
| 101 | # work around until we can figure out why. Manually delete SSOCharacter from all of it's characters |
| 102 | for x in char.characters: |
| 103 | x._Character__ssoCharacters.remove(char) |
| 104 | eos.db.remove(char) |
| 105 | wx.PostEvent(self.mainFrame, GE.SsoLogout(charID=id)) |
| 106 | |
| 107 | def getSsoCharacters(self): |
| 108 | chars = eos.db.getSsoCharacters(config.getClientSecret()) |
no test coverage detected