diff options
| author | 2019-01-01 17:54:50 +0100 | |
|---|---|---|
| committer | 2019-01-01 17:54:50 +0100 | |
| commit | 259ea498d2cdf4206871c52196ade1b24b7e52bc (patch) | |
| tree | c549a6cc8d4cbb03440109fc7e92941b1bf4e22a | |
| parent | Merge pull request #234 from python-discord/invite-filter-fix (diff) | |
| parent | Merge branch 'master' into eval-indent-fix (diff) | |
Merge pull request #242 from python-discord/eval-indent-fix
Corrects indent bug in internal eval introduced in #212
| -rw-r--r-- | bot/cogs/eval.py | 2 |
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"): |