From fb2a733f4cd972f2eb03a61d4c673d830e7e604f Mon Sep 17 00:00:00 2001 From: retoor Date: Tue, 26 Nov 2024 07:00:06 +0100 Subject: [PATCH] Right. --- src/rupload/app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rupload/app.py b/src/rupload/app.py index 650cc5f..78476f6 100644 --- a/src/rupload/app.py +++ b/src/rupload/app.py @@ -266,8 +266,9 @@ async def handle_index(request: web.Request): if request.app.is_upload_folder_quota_reached: message = "Server reached quota! Contact administrator." if request.app.upload_url in message: - url = message[message.find(request.app.upload_url)+len(request.app.upload_url):] + url = message[message.find(request.app.upload_url):] message = message.replace(request.app.upload_url, f" {url}' if message: message += "

"