Skip to content

Commit

Permalink
Fix spacing in eval message (python-discord#2534)
Browse files Browse the repository at this point in the history
  • Loading branch information
wookie184 authored Apr 12, 2023
1 parent a30ac61 commit a10ab7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/exts/utils/snekbox/_cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ async def send_job(self, ctx: Context, job: EvalJob) -> Message:
# This is done to make sure the last line of output contains the error
# and the error is not manually printed by the author with a syntax error.
if result.stdout.rstrip().endswith("EOFError: EOF when reading a line") and result.returncode == 1:
msg += ":warning: Note: `input` is not supported by the bot :warning:\n\n"
msg += "\n:warning: Note: `input` is not supported by the bot :warning:\n"

# Skip output if it's empty and there are file uploads
if result.stdout or not result.has_files:
Expand Down

0 comments on commit a10ab7e

Please sign in to comment.