From 24a84e508fa320d3d0f81976c4a798c82d4e3a58 Mon Sep 17 00:00:00 2001 From: lomion Date: Tue, 16 Mar 2021 16:40:00 +0100 Subject: [PATCH] Fixed Flake error "F541 f-string is missing placeholders" --- tmdb/tmdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tmdb/tmdb.py b/tmdb/tmdb.py index b8e5bd0..56d5a77 100644 --- a/tmdb/tmdb.py +++ b/tmdb/tmdb.py @@ -95,7 +95,7 @@ class TmdbBot(Plugin):

Use !tmdb tvshow {title} to get detail about a tv show based on the given title.

""" 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")