aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Goes <[email protected]>2019-01-02 19:19:41 -0700
committerGravatar GitHub <[email protected]>2019-01-02 19:19:41 -0700
commit61b5cdec2e5b5f7a277598f896643cfdf05e4ed8 (patch)
treec0762fa36f30bb9e64118237243e43dfb6301782
parentIgnore defcon title change in modlog. (diff)
parentMerge pull request #242 from python-discord/eval-indent-fix (diff)
Merge branch 'master' into defcon-channel-title
-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"):