Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -184,7 +184,7 @@ async def exe(websocket,connected):
|
|
184 |
try:
|
185 |
if "command" in event:
|
186 |
await execute_command(websocket, event["project_name"], event["command"], connected)
|
187 |
-
elif "write"
|
188 |
|
189 |
await wirte_file(websocket, event["project_name"], event["path"], event["content"], connected)
|
190 |
elif "create" in event:
|
|
|
184 |
try:
|
185 |
if "command" in event:
|
186 |
await execute_command(websocket, event["project_name"], event["command"], connected)
|
187 |
+
elif event["write"]:
|
188 |
|
189 |
await wirte_file(websocket, event["project_name"], event["path"], event["content"], connected)
|
190 |
elif "create" in event:
|