Spaces:
Sleeping
Sleeping
Update controllers/ws_controller.py
Browse files
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 |
-
|
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):
|