cleanup, comments
This commit is contained in:
@@ -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()
|
||||
Reference in New Issue
Block a user