Skip to content

Commit

Permalink
apply styling with black and isort
Browse files Browse the repository at this point in the history
  • Loading branch information
janaab11 committed Jan 3, 2025
1 parent d944e6f commit f2c3144
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/diart/websockets.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import logging
import time
from dataclasses import dataclass
from pathlib import Path
from typing import Any, AnyStr, Callable, Dict, Optional, Text, Union
import time

import numpy as np
from websocket_server import WebsocketServer
Expand Down Expand Up @@ -268,7 +268,9 @@ def send(self, client_id: Text, message: AnyStr) -> None:

client = next((c for c in self.server.clients if c["id"] == client_id), None)
if client is None:
logger.warning(f"Failed to send message to client {client_id}: client not found")
logger.warning(
f"Failed to send message to client {client_id}: client not found"
)
return

try:
Expand Down

0 comments on commit f2c3144

Please sign in to comment.