From 07179b389f7c9cb4a81092c4c954aafa397cd225 Mon Sep 17 00:00:00 2001 From: JoeBanks13 Date: Sat, 17 Mar 2018 22:40:12 +0000 Subject: PEP8, sorry :pensive: --- bot/cogs/bot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bot/cogs/bot.py b/bot/cogs/bot.py index 72f002b42..f4f91ce33 100644 --- a/bot/cogs/bot.py +++ b/bot/cogs/bot.py @@ -150,9 +150,9 @@ class Bot: self.channel_cooldowns[msg.channel.id] = time.time() except SyntaxError: - log.trace(f"{msg.author} posted in a help channel, and when we tried to parse it as Python code, " - "ast.parse raised a SyntaxError. This probably just means it wasn't Python code. " - f"The message that was posted was:\n\n{msg.content}\n\n") + log.trace(f"{msg.author} posted in a help channel, and when we tried to parse it as Python " + f"code, ast.parse raised a SyntaxError. This probably just means it wasn't Python " + f"code. The message that was posted was:\n\n{msg.content}\n\n") pass -- cgit v1.2.3