1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 01:22:19 +03:00

Made sure to use super() call

Assuming you know what your super is is a bad idea
This commit is contained in:
A_D 2021-01-28 18:16:06 +02:00 committed by Athanasius
parent 1b0b482105
commit 96ac23a6eb

@ -203,12 +203,12 @@ elif sys.platform == 'win32' and getattr(sys, 'frozen', False) and not is_wine a
"""
def __init__(self):
GenericProtocolHandler.__init__(self)
self.thread = None
super().__init__()
self.thread: Optional[threading.Thread] = None
def start(self, master):
"""Start the DDE thread."""
GenericProtocolHandler.start(self, master)
super().start(master)
self.thread = threading.Thread(target=self.worker, name='DDE worker')
self.thread.daemon = True
self.thread.start()