Blacked.
All checks were successful
RUpload build / Build (push) Successful in 1m1s

This commit is contained in:
retoor 2024-11-26 08:03:36 +01:00
parent ed1090c773
commit b7daa3ad0f

View File

@ -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"<a href=\"{url}\">"
url = message[message.find("here: ") + len("here: ") :]
message = message[: message.find("here: ") + len("here: ")]
message += f'<a href="{url}">'
message += f"{url}</a>"
if message:
message += "<br /><br />"