cleanup, comments

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

View File

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