diff --git a/norms/wsocket.py b/norms/wsocket.py index b339bbe..ad37930 100644 --- a/norms/wsocket.py +++ b/norms/wsocket.py @@ -14,5 +14,6 @@ async def main(): async with serve(echo, "localhost", 8765): await asyncio.Future() # run forever + if __name__ == "__main__": asyncio.run(main())