diff options
| author | 2020-06-10 21:42:26 -0700 | |
|---|---|---|
| committer | 2020-06-14 13:11:32 -0700 | |
| commit | cb0529b327000a39d0329143fb5c3db2504d0219 (patch) | |
| tree | b967f16ca3461a2aab846956cf1dc9a421a65694 | |
| parent | Code block: add stats (diff) | |
Code block: remove needless f-strings
| -rw-r--r-- | bot/cogs/codeblock/instructions.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/cogs/codeblock/instructions.py b/bot/cogs/codeblock/instructions.py index 5c573c2ff..c9db80deb 100644 --- a/bot/cogs/codeblock/instructions.py +++ b/bot/cogs/codeblock/instructions.py @@ -156,17 +156,17 @@ def get_instructions(content: str) -> Optional[str]: return if not blocks: - log.trace(f"No code blocks were found in message.") + log.trace("No code blocks were found in message.") return _get_no_ticks_message(content) else: log.trace("Searching results for a code block with invalid ticks.") block = next((block for block in blocks if block.tick != parsing.BACKTICK), None) if block: - log.trace(f"A code block exists but has invalid ticks.") + log.trace("A code block exists but has invalid ticks.") return _get_bad_ticks_message(block) else: - log.trace(f"A code block exists but is missing a language.") + log.trace("A code block exists but is missing a language.") block = blocks[0] # Check for a bad language first to avoid parsing content into an AST. |