Skip to content

Commit

Permalink
websockets.serve no longer provides path argument to the handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Jan 16, 2025
1 parent b747d9c commit d3914f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sippy/Wss_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ async def sip_to_ws(self, queue:AsyncQueue, websocket:WebSocketServerProtocol):
item = await queue.get()
await websocket.send(item)

async def ws_to_sip(self, websocket, path):
async def ws_to_sip(self, websocket):
print(f'New connection {websocket.id=}')
queue = AsyncQueue()
sender = create_task(self.sip_to_ws(queue, websocket))
Expand Down

0 comments on commit d3914f7

Please sign in to comment.