Ramesh-vani commited on
Commit
c1031d7
·
verified ·
1 Parent(s): fcd24a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -363,10 +363,10 @@ async def handle_user_input(websocket,key, process, connected):
363
 
364
  return_code = await process.wait()
365
  if return_code == 0:
366
- # await send_message('Code executed successfully')
367
  pass
368
  else:
369
- # await send_message(f'error:Execution failed with return code {return_code}')
370
  pass
371
 
372
  except Exception as e:
 
363
 
364
  return_code = await process.wait()
365
  if return_code == 0:
366
+ await send_message('Code executed successfully')
367
  pass
368
  else:
369
+ await send_message(f'error:Execution failed with return code {return_code}')
370
  pass
371
 
372
  except Exception as e: