diff options
author | 2023-04-12 20:38:25 +0100 | |
---|---|---|
committer | 2023-04-12 19:38:25 +0000 | |
commit | a10ab7ea71bc5cb31eabe3e69d7f0d1351f0a93f (patch) | |
tree | 407bbb92bcb6e4f2852f5bc7c6d17d72a13253f4 | |
parent | Fix sending of PEPs by PythonNews cog (#2533) (diff) |
Fix spacing in eval message (#2534)
-rw-r--r-- | bot/exts/utils/snekbox/_cog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utils/snekbox/_cog.py b/bot/exts/utils/snekbox/_cog.py index 5ab48ad43..da2f65f05 100644 --- a/bot/exts/utils/snekbox/_cog.py +++ b/bot/exts/utils/snekbox/_cog.py @@ -332,7 +332,7 @@ class Snekbox(Cog): # 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: |