xdragxt commited on
Commit
82ec702
·
verified ·
1 Parent(s): e730fea

Update jarvis.py

Browse files
Files changed (1) hide show
  1. jarvis.py +1 -3
jarvis.py CHANGED
@@ -220,9 +220,7 @@ async def jarvis_trigger(client, message):
220
  lint_proc = subprocess.run(['pyflakes', 'tmp_lint_module.py'], capture_output=True, text=True)
221
  if lint_proc.returncode != 0 or lint_proc.stdout.strip() or lint_proc.stderr.strip():
222
  lint_output = (lint_proc.stdout + '\n' + lint_proc.stderr).strip()
223
- await progress_msg.edit(f"❌ Linter/static check failed!\n\n```
224
- {lint_output}
225
- ```")
226
  os.remove('tmp_lint_module.py')
227
  continue
228
  os.remove('tmp_lint_module.py')
 
220
  lint_proc = subprocess.run(['pyflakes', 'tmp_lint_module.py'], capture_output=True, text=True)
221
  if lint_proc.returncode != 0 or lint_proc.stdout.strip() or lint_proc.stderr.strip():
222
  lint_output = (lint_proc.stdout + '\n' + lint_proc.stderr).strip()
223
+ await progress_msg.edit(f"❌ Linter/static check failed!\n\n```\n{lint_output}\n```")
 
 
224
  os.remove('tmp_lint_module.py')
225
  continue
226
  os.remove('tmp_lint_module.py')