From 0577d11fa18f5556b45160a45939bf0e8ba2f580 Mon Sep 17 00:00:00 2001 From: scragly <29337040+scragly@users.noreply.github.com> Date: Tue, 1 Jan 2019 19:43:09 +1000 Subject: Cast int to str, correct buffer align, re-add trailing space --- bot/cogs/eval.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"): -- cgit v1.2.3