aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Ibrahim <[email protected]>2023-03-03 01:57:14 +0530
committerGravatar Ibrahim <[email protected]>2023-03-03 01:57:14 +0530
commitf3c103856190f360bf1bcd4378e05ea7a5b22a74 (patch)
tree0250f01a292e986cd8aa179677cd367be899eb3e
parentWookie's review (diff)
Edit comment to match wookie's review
-rw-r--r--bot/exts/utils/snekbox.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bot/exts/utils/snekbox.py b/bot/exts/utils/snekbox.py
index 1c0896804..ddcbe01fa 100644
--- a/bot/exts/utils/snekbox.py
+++ b/bot/exts/utils/snekbox.py
@@ -345,8 +345,9 @@ class Snekbox(Cog):
output, paste_link = await self.format_output(results["stdout"])
warning_message = ""
- # 33 is the length of the error message. It 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.
+
+ # 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 results["stdout"].rstrip().endswith("EOFError: EOF when reading a line") and results["returncode"] == 1:
warning_message += ":warning: Note: `input` is not supported by the bot :warning:\n\n"