Insane
This commit is contained in:
parent
02f0330226
commit
94cda49a16
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -30,7 +30,7 @@ async def handle(websocket):
|
|||
# broadcast from vee
|
||||
EAS_MESSAGE = message.replace(f"MSG {TOKEN} ", "")
|
||||
websockets.broadcast(CONNECTIONS, f"MSG {EAS_MESSAGE}")
|
||||
if message.startswith(f"CLEAR {TOKEN} "):
|
||||
if message.startswith(f"CLEAR {TOKEN}"):
|
||||
# clear
|
||||
EAS_MESSAGE = ""
|
||||
await websocket.send(f"OK")
|
||||
|
|
Reference in a new issue