From 03c8fb02a77c70abe048698121ce73d37ac968b0 Mon Sep 17 00:00:00 2001 From: retoor Date: Tue, 26 Nov 2024 07:07:13 +0100 Subject: [PATCH] Update url. --- src/rupload/app.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/rupload/app.py b/src/rupload/app.py index 78476f6..6a9714f 100644 --- a/src/rupload/app.py +++ b/src/rupload/app.py @@ -266,9 +266,8 @@ 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):] - message = message.replace(request.app.upload_url, f" {url}' if message: message += "

"