Fixed Flake error "F541 f-string is missing placeholders"

This commit is contained in:
lomion 2021-03-16 16:40:00 +01:00
parent 2eb62a790f
commit 24a84e508f

View file

@ -95,7 +95,7 @@ class TmdbBot(Plugin):
<p>Use <b>!tmdb tvshow {title}</b> to get detail about a tv show based on the given title.</p>"""
content = TextMessageEventContent(
msgtype=MessageType.TEXT, format=Format.HTML,
body=f"Help for TMDB Bot",
body="Help for TMDB Bot",
formatted_body=f"{html}")
await evt.respond(content)
@ -160,7 +160,7 @@ class TmdbBot(Plugin):
else:
content = TextMessageEventContent(
msgtype=MessageType.NOTICE, format=Format.HTML,
body=f"No movie found!")
body="No movie found!")
await evt.respond(content)
@command.new("movie-search", help="Movie lookup by Title")