Skip to content

Commit

Permalink
fix threading arg
Browse files Browse the repository at this point in the history
  • Loading branch information
lawndoc committed Nov 14, 2023
1 parent 9b71b16 commit 7280f5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mediator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7280f5e

Please sign in to comment.