Ramesh-vani commited on
Commit
729f631
·
verified ·
1 Parent(s): 21aca0b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -214,7 +214,7 @@ async def handler(websocket):
214
  message = await websocket.recv()
215
  event = json.loads(message)
216
  project_name = event["project_name"]
217
- # assert event["type"] == "init"
218
 
219
  if "join" in event:
220
  # Second player joins an existing game.
 
214
  message = await websocket.recv()
215
  event = json.loads(message)
216
  project_name = event["project_name"]
217
+ assert event["type"] == "init"
218
 
219
  if "join" in event:
220
  # Second player joins an existing game.