From 51f4a62738b7bc1a539d95b480211e29b2f743b2 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Sun, 17 Aug 2025 12:18:56 +0100 Subject: [PATCH] Cleanup lint issues --- smsbot/telegram.py | 2 +- tests/test_utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/smsbot/telegram.py b/smsbot/telegram.py index fb20197..754c62f 100644 --- a/smsbot/telegram.py +++ b/smsbot/telegram.py @@ -121,7 +121,7 @@ class TelegramSmsBot: try: self.twilio_client.messages.create(body=message, to=to, from_=self.twilio_from_number) - except Exception as e: + except Exception: self.logger.exception("Failed to send SMS due to exception") await update.message.reply_markdown("Failed to send SMS") pass diff --git a/tests/test_utils.py b/tests/test_utils.py index 1ed3204..481fad3 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -1,4 +1,4 @@ -from smsbot.utils import TwilioMessage +from smsbot.utils.twilio import TwilioMessage def test_twiliomessage_normal():