acecalisto3 commited on
Commit
27d878a
·
verified ·
1 Parent(s): 661f7ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -216,8 +216,7 @@ def code_editor_interface(code):
216
  '--output-format=text',
217
  '--reports=n',
218
  '-'
219
- ], exit=False, do_exit=False)
220
- lint_message = lint_result.getvalue()
221
  return formatted_code, lint_message
222
  except Exception as e:
223
  return code, f"Error formatting or linting code: {e}"
 
216
  '--output-format=text',
217
  '--reports=n',
218
  '-'
219
+ ], lint_message = lint_result.getvalue()
 
220
  return formatted_code, lint_message
221
  except Exception as e:
222
  return code, f"Error formatting or linting code: {e}"