From 64fc790962c8ec05000442d2510e47acb49a3c40 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sat, 27 Feb 2021 11:57:19 +0100 Subject: [PATCH] Fix syntax error --- LogBot/logbot.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/LogBot/logbot.py b/LogBot/logbot.py index 972cac1..7fab42a 100644 --- a/LogBot/logbot.py +++ b/LogBot/logbot.py @@ -187,7 +187,9 @@ class Logbot(Bot): key = str(match.replace("@delete ", "")) if key in self.db[message.room]["messages"]: - self.log.info(f"To be deleted: {self.db[message.room]["messages"][key]}") + self.log.info( + f"To be deleted: {self.db[message.room]['messages'][key]}" + ) reply = f"This message is deleted: { self.db[message.room]['messages'][key] }" del self.db[message.room]["messages"][key] else: