PEP8, various other tweaks
This commit is contained in:
parent
6c022dac1c
commit
e12e7721da
11 changed files with 29 additions and 34 deletions
|
@ -14,8 +14,8 @@ def eval_py(code, paste_multiline=True):
|
|||
status = "Python error: "
|
||||
else:
|
||||
status = "Code executed sucessfully: "
|
||||
|
||||
|
||||
if "\n" in output and paste_multiline:
|
||||
return status + web.haste(output)
|
||||
else:
|
||||
return output
|
||||
return output
|
||||
|
|
Reference in a new issue