aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar scragly <[email protected]>2019-01-01 19:43:09 +1000
committerGravatar scragly <[email protected]>2019-01-01 19:43:09 +1000
commit0577d11fa18f5556b45160a45939bf0e8ba2f580 (patch)
treee0c96a3703c2c8e07ad85c2715660e0ba7879eff
parentMerge pull request #223 from python-discord/mod-dm-status (diff)
Cast int to str, correct buffer align, re-add trailing space
-rw-r--r--bot/cogs/eval.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/eval.py b/bot/cogs/eval.py
index 9e09b3aa0..8e97a35a2 100644
--- a/bot/cogs/eval.py
+++ b/bot/cogs/eval.py
@@ -68,7 +68,7 @@ class CodeEval:
# then we get the length
# and use `str.rjust()`
# to indent it.
- start = "...:".rjust(len(self.ln) + 2)
+ start = "...: ".rjust(len(str(self.ln)) + 7)
if i == len(lines) - 2:
if line.startswith("return"):