From b7daa3ad0f935047b8c9db8b7727de5bec1306b6 Mon Sep 17 00:00:00 2001 From: retoor Date: Tue, 26 Nov 2024 08:03:36 +0100 Subject: [PATCH] Blacked. --- src/rupload/app.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rupload/app.py b/src/rupload/app.py index dbff64e..ab77c72 100644 --- a/src/rupload/app.py +++ b/src/rupload/app.py @@ -276,9 +276,9 @@ async def handle_index(request: web.Request): if request.app.is_upload_folder_quota_reached: message = "Server reached quota! Contact administrator." if "is available here: " in message: - url = message[message.find("here: ") + len("here: "):] - message = message[: message.find("here: ")+len("here: ")] - message += f"" + url = message[message.find("here: ") + len("here: ") :] + message = message[: message.find("here: ") + len("here: ")] + message += f'' message += f"{url}" if message: message += "

"