mirror of
https://github.com/nikdoof/smsbot.git
synced 2025-12-11 09:02:16 +00:00
Cleanup lint issues
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from smsbot.utils import TwilioMessage
|
||||
from smsbot.utils.twilio import TwilioMessage
|
||||
|
||||
|
||||
def test_twiliomessage_normal():
|
||||
|
||||
Reference in New Issue
Block a user