Skip to content

Commit

Permalink
Fix deprecation warning second argument of ws_handler
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-eq committed Sep 9, 2024
1 parent 225d655 commit fd5fa70
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/ert/ensemble_evaluator/evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,8 @@ async def forward_checksum(self, event: Event) -> None:
await self._events_to_send.put(event)
await self._manifest_queue.put(event)

async def connection_handler(
self, websocket: WebSocketServerProtocol, path: str
) -> None:
async def connection_handler(self, websocket: WebSocketServerProtocol) -> None:
path = websocket.path
elements = path.split("/")
if elements[1] == "client":
await self.handle_client(websocket)
Expand Down

0 comments on commit fd5fa70

Please sign in to comment.