Updated server/server.py

Updated ws_talk.py
This commit is contained in:
mirai
2022-12-02 08:32:01 +03:00
parent e51c18eae4
commit 82236bf3c9
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ key = Fernet.generate_key()
async def talking(request: Request, ws: Websocket) -> HTTPResponse:
while True:
data = await ws.recv()
print(data)
print(eval(data))
# new_message = Message(
# message=request.form.get("text")
# )