diff --git a/main.py b/main.py index a4e044c..28bc102 100644 --- a/main.py +++ b/main.py @@ -20,8 +20,8 @@ async def handle(websocket): if message == "GET": if EAS_MESSAGE == "": await websocket.send("NULL") - return - await websocket.send(f"MSG {EAS_MESSAGE}") + else: + await websocket.send(f"MSG {EAS_MESSAGE}") if message.startswith(f"MSG {TOKEN} "): # broadcast from vee EAS_MESSAGE = message.replace(f"MSG {TOKEN} ", "")