0.7.38
fix print chat msg in console
This commit is contained in:
@@ -122,7 +122,10 @@ class ChatConsumer(WebsocketConsumer):
|
||||
|
||||
|
||||
def receive(self, text_data=None, bytes_data=None):
|
||||
print(f'ws receive text_data = {text_data}')
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user