Ridiculous error

pull/84/head
killian 10 months ago
parent dab4d29ba2
commit 1e28626d1a

@ -170,7 +170,7 @@ async def receive_messages(websocket: WebSocket):
async def send_messages(websocket: WebSocket): async def send_messages(websocket: WebSocket):
while True: while True:
message = await to_device.get() message = await to_device.get()
print(f"Sending to the device: {type(message)} {str(message)[:100]}") #print(f"Sending to the device: {type(message)} {str(message)[:100]}")
try: try:
if isinstance(message, dict): if isinstance(message, dict):

Loading…
Cancel
Save