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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -222,7 +222,7 @@ async def handler(websocket):
222
  elif "watch" in event:
223
  # Spectator watches an existing game.
224
  await watch(websocket, event["watch"])
225
- elif "cmd" in event:
226
 
227
  await execute_command(websocket, event["project_name"], event["command"])
228
  else:
 
222
  elif "watch" in event:
223
  # Spectator watches an existing game.
224
  await watch(websocket, event["watch"])
225
+ elif "command" in event:
226
 
227
  await execute_command(websocket, event["project_name"], event["command"])
228
  else: