| 74 | return cls._instance |
| 75 | |
| 76 | def __init__(self): |
| 77 | self.settings = EsiSettings.getInstance() |
| 78 | |
| 79 | super().__init__() |
| 80 | |
| 81 | # these will be set when needed |
| 82 | self.httpd = None |
| 83 | self.state = None |
| 84 | self.ssoTimer = None |
| 85 | |
| 86 | self.implicitCharacter = None |
| 87 | |
| 88 | # until I can get around to making proper caching and modifications to said cache, storee deleted fittings here |
| 89 | # so that we can easily hide them in the fitting browser |
| 90 | self.fittings_deleted = set() |
| 91 | |
| 92 | # need these here to post events |
| 93 | import gui.mainFrame # put this here to avoid loop |
| 94 | self.mainFrame = gui.mainFrame.MainFrame.getInstance() |
| 95 | |
| 96 | def delSsoCharacter(self, id): |
| 97 | char = eos.db.getSsoCharacter(id, config.getClientSecret()) |