cleanup, comments

This commit is contained in:
Georg Schlisio committed 2022-01-20 11:20:09 +01:00
1 parent 6be90ff148
commit 16912b627f
4 files changed
+4 -1

No files matched your search

File renamed without changes.
@@ -421,6 +421,9 @@ class ProtocolVersionError(Exception):
super().__init__(self.message) super().__init__(self.message)
def run(obj): def run(obj):
"""
Target wrapper for thread object invocation
"""
obj.run() obj.run()
if __name__ == "__main__": if __name__ == "__main__":
@@ -436,4 +439,4 @@ if __name__ == "__main__":
operatorThread = threading.Thread(target=run, args=(o,)) operatorThread = threading.Thread(target=run, args=(o,))
# start threads # start threads
operatorThread.start() operatorThread.start()
listenerThread.start() listenerThread.start()
File renamed without changes.
File renamed without changes.