fix print chat msg in console
This commit is contained in:
SDE
2023-09-18 15:23:57 +03:00
parent d78ac25828
commit 2fffff65c4

View File

@@ -122,7 +122,10 @@ class ChatConsumer(WebsocketConsumer):
def receive(self, text_data=None, bytes_data=None):
if len(text_data) < 500:
print(f'ws receive text_data = {text_data}')
else:
print(f'ws receive text_data size = {len(text_data)}')
import base64