Spaces:
Running
Running
Update app.py
Browse files
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 "
|
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:
|