This commit is contained in:
parent
ed1090c773
commit
b7daa3ad0f
@ -276,9 +276,9 @@ async def handle_index(request: web.Request):
|
|||||||
if request.app.is_upload_folder_quota_reached:
|
if request.app.is_upload_folder_quota_reached:
|
||||||
message = "Server reached quota! Contact administrator."
|
message = "Server reached quota! Contact administrator."
|
||||||
if "is available here: " in message:
|
if "is available here: " in message:
|
||||||
url = message[message.find("here: ") + len("here: "):]
|
url = message[message.find("here: ") + len("here: ") :]
|
||||||
message = message[: message.find("here: ")+len("here: ")]
|
message = message[: message.find("here: ") + len("here: ")]
|
||||||
message += f"<a href=\"{url}\">"
|
message += f'<a href="{url}">'
|
||||||
message += f"{url}</a>"
|
message += f"{url}</a>"
|
||||||
if message:
|
if message:
|
||||||
message += "<br /><br />"
|
message += "<br /><br />"
|
||||||
|
Loading…
Reference in New Issue
Block a user