little code style fixes
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
mitsuha_s 2022-07-10 16:29:23 +00:00
parent f101f825a3
commit 7939babbe0

View file

@ -1,7 +1,6 @@
import time
from bleach.sanitizer import Cleaner
from logging import Logger
from bleach.sanitizer import Cleaner
from telebot import TeleBot
from telebot.handler_backends import BaseMiddleware
from telebot.types import Message
@ -164,7 +163,6 @@ class Notifier:
def __format_message(self, item: FeedItem) -> str:
return (
# TODO: Return date when FeedItem starts to return formattable datetime object
f"<strong><a href=\"{item.url}\">{item.title}</a></strong>\n"
f"{item.date}\n\n"
f"{self.__sanitize_html(item.description)}"