Ramesh-vani commited on
Commit
463f791
·
verified ·
1 Parent(s): f7febe1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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" in event:
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: