From 613d26d2bd6bcbfb83d0f8b89ad0add469eda0be Mon Sep 17 00:00:00 2001 From: missytake Date: Wed, 11 Oct 2023 17:19:30 +0200 Subject: [PATCH] chore: fixing lint issues --- src/teams_bot/bot.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/teams_bot/bot.py b/src/teams_bot/bot.py index 90c0eb4..14e48e7 100644 --- a/src/teams_bot/bot.py +++ b/src/teams_bot/bot.py @@ -107,7 +107,11 @@ class RelayPlugin: help_message = message.text.split("/set_outside_help ")[1] except IndexError: set_outside_help(self.kvstore, "") - return self.reply(message.chat, "Removed help message for outsiders", quote=message) + return self.reply( + message.chat, + "Removed help message for outsiders", + quote=message, + ) set_outside_help(self.kvstore, help_message) self.reply( message.chat, @@ -132,7 +136,9 @@ class RelayPlugin: else: if message.text.startswith("/help"): - logging.info("Outsider %s asked for help", message.get_sender_contact().addr) + logging.info( + "Outsider %s asked for help", message.get_sender_contact().addr + ) help_message = outside_help(self.kvstore) if help_message == False: help_message = f"I forward messages to the {self.account.get_config('displayname')} team."