Omkar008 commited on
Commit
28397d5
1 Parent(s): 0648800

Update controllers/ws_controller.py

Browse files
Files changed (1) hide show
  1. controllers/ws_controller.py +1 -1
controllers/ws_controller.py CHANGED
@@ -165,7 +165,7 @@ async def websocket_main(code: str, websocket: WebSocket,brand_name: Optional[s
165
 
166
  async def send_message_in_chunks(websocket: WebSocket, message_json: dict, chunk_size: int):
167
  message_str = json.dumps(message_json)
168
- print("Printing the message_str : ")
169
  logging.info(message_json)
170
  # await websocket.send_json({"file_len":len(file)})
171
  for i in range(0, len(message_str), chunk_size):
 
165
 
166
  async def send_message_in_chunks(websocket: WebSocket, message_json: dict, chunk_size: int):
167
  message_str = json.dumps(message_json)
168
+ logging.info("Printing the message_str : ")
169
  logging.info(message_json)
170
  # await websocket.send_json({"file_len":len(file)})
171
  for i in range(0, len(message_str), chunk_size):