Fixed flake8

This commit is contained in:
lomion 2022-12-22 22:59:33 +01:00 committed by Scott Wallace
parent 78eedc51de
commit 94917d0b98
Signed by: scott
GPG key ID: AA742FDC5AFE2A72
3 changed files with 8 additions and 8 deletions

View file

@ -60,7 +60,7 @@ class TmdbBot(Plugin):
self.db = Database(self.database)
self.api = None
async def send_html_message(self, evt: MessageEvent, text_message: str, html_message: str, data = None) -> None:
async def send_html_message(self, evt: MessageEvent, text_message: str, html_message: str, data=None) -> None:
content = TextMessageEventContent(
msgtype=MessageType.TEXT, format=Format.HTML,
body=f"{text_message}",
@ -291,6 +291,6 @@ class TmdbBot(Plugin):
await self.api.search_id(populars[str(requ)])
await self.send_movie_info(evt, self.api)
else:
self.log.info(f"Not in reply to a known message")
self.log.info("Not in reply to a known message")
else:
self.log.info(f"No reply")
self.log.info("No reply")