diff options
Diffstat (limited to '')
| -rw-r--r-- | bot/cogs/codeblock/parsing.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/codeblock/parsing.py b/bot/cogs/codeblock/parsing.py index 31cbd09b9..112ca12b6 100644 --- a/bot/cogs/codeblock/parsing.py +++ b/bot/cogs/codeblock/parsing.py @@ -148,6 +148,6 @@ def parse_bad_language(content: str) -> Optional[BadLanguage]:      return BadLanguage(          language=match["lang"], -        leading_spaces=match["spaces"] is not None, -        terminal_newline=match["newline"] is not None, +        has_leading_spaces=match["spaces"] is not None, +        has_terminal_newline=match["newline"] is not None,      )  |