Skip to content

Commit f2c3144

Browse files
committed
apply styling with black and isort
1 parent d944e6f commit f2c3144

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/diart/websockets.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import logging
2+
import time
23
from dataclasses import dataclass
34
from pathlib import Path
45
from typing import Any, AnyStr, Callable, Dict, Optional, Text, Union
5-
import time
66

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

269269
client = next((c for c in self.server.clients if c["id"] == client_id), None)
270270
if client is None:
271-
logger.warning(f"Failed to send message to client {client_id}: client not found")
271+
logger.warning(
272+
f"Failed to send message to client {client_id}: client not found"
273+
)
272274
return
273275

274276
try:

0 commit comments

Comments
 (0)