feat: fix f-string interpolation for anchor tag href attribute in handle_index

This commit is contained in:
retoor 2024-11-26 06:18:20 +00:00
parent 53925dab2c
commit f8c3fbee7d

View File

@ -268,7 +268,7 @@ async def handle_index(request: web.Request):
if "is available here: " in message:
url = message[message.find("here: ") + len("here: "):]
message = message[: message.find("here: ")+len("here: ")]
message = += "<a href=\"{url}\">")
message = += f"<a href=\"{url}\">")
message += f"{url}</a>"
if message:
message += "<br /><br />"