From a51c3739c99158c1dc7ec31c0e887c3b018e2c83 Mon Sep 17 00:00:00 2001 From: retoor Date: Tue, 26 Nov 2024 07:08:41 +0100 Subject: [PATCH] Update url. --- src/rupload/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rupload/app.py b/src/rupload/app.py index 6a9714f..f3159bf 100644 --- a/src/rupload/app.py +++ b/src/rupload/app.py @@ -266,7 +266,7 @@ 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["here:" + len("here: "):] + url = message[message.find("here: ") + len("here: "):] message = message.replace("here: ", f"here: {url}' if message: