mitulagr2 commited on
Commit
1e8af32
1 Parent(s): 73f27dc

Update main.py

Browse files
Files changed (1) hide show
  1. app/main.py +2 -2
app/main.py CHANGED
@@ -55,8 +55,8 @@ async def websocket_endpoint(websocket: WebSocket, client_id: int):
55
  while True:
56
  print("3")
57
  data = await websocket.receive_text()
58
- print("4")
59
- await manager.send_personal_message(f"You wrote: {data}", websocket)
60
  print("5")
61
  message = {"time":current_time,"clientId":client_id,"message":data}
62
  print("6")
 
55
  while True:
56
  print("3")
57
  data = await websocket.receive_text()
58
+ # print("4")
59
+ # await manager.send_personal_message(f"You wrote: {data}", websocket)
60
  print("5")
61
  message = {"time":current_time,"clientId":client_id,"message":data}
62
  print("6")