Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -138,7 +138,7 @@ async def wirte_file(websocket, key,project_name, path, content, connected):
|
|
| 138 |
"path": path,
|
| 139 |
"content": content,
|
| 140 |
}
|
| 141 |
-
websockets.broadcast(connected,json.dumps(event))
|
| 142 |
except FileNotFoundError as e:
|
| 143 |
event = {
|
| 144 |
"type": "write-error",
|
|
|
|
| 138 |
"path": path,
|
| 139 |
"content": content,
|
| 140 |
}
|
| 141 |
+
# websockets.broadcast(connected,json.dumps(event))
|
| 142 |
except FileNotFoundError as e:
|
| 143 |
event = {
|
| 144 |
"type": "write-error",
|