1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-06-03 09:01:13 +03:00

protocol: Avoid Tk event_generate() calls during shutdown

This commit is contained in:
Athanasius 2021-01-11 16:43:53 +00:00
parent 4bddc4c0cb
commit 92d5657e21

View File

@ -32,6 +32,8 @@ class GenericProtocolHandler(object):
def event(self, url):
self.lastpayload = url
if not config.shutting_down():
self.master.event_generate('<<CompanionAuthEvent>>', when="tail")