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: