diff --git a/mediator.py b/mediator.py index 934b299..508b9d2 100644 --- a/mediator.py +++ b/mediator.py @@ -39,8 +39,8 @@ def handleConnections(self): targetHandler = threading.Thread(target=self.handleTargets) operatorHandler = threading.Thread(target=self.handleOperators) bridgeWorker = threading.Thread(target=self.bridgeConnections) - targetGreenRoom = threading.Thread(target=self.greenRoom, args=["target"]) - operatorGreenRoom = threading.Thread(target=self.greenRoom, args=["operator"]) + targetGreenRoom = threading.Thread(target=self.greenRoom, args=("target",)) + operatorGreenRoom = threading.Thread(target=self.greenRoom, args=("operator",)) # run in the background targetHandler.daemon = True operatorHandler.daemon = True