1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-14 00:07:14 +03:00

protocol: Avoid Tk event_generate() calls during shutdown

# Conflicts:
#	protocol.py
This commit is contained in:
Athanasius 2021-03-22 14:17:00 +00:00
parent b39cc7974e
commit e7a7314c1a

View File

@ -34,9 +34,7 @@ class GenericProtocolHandler(object):
def event(self, url):
self.lastpayload = url
logger.trace(f'Payload: {self.lastpayload}')
if not config.shutting_down:
logger.debug('event_generate("<<CompanionAuthEvent>>"')
self.master.event_generate('<<CompanionAuthEvent>>', when="tail")