From 4409a844c08e883574a141a6ff9b6552cc61b3aa Mon Sep 17 00:00:00 2001 From: justuser-31 Date: Tue, 3 Feb 2026 15:08:52 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7?= =?UTF-8?q?=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20=D0=BE=D0=B1=D1=8A=D1=91?= =?UTF-8?q?=D0=BC=D0=B0=20=D0=9C=D0=91=20=D0=BF=D0=BE=20=D1=83=D0=BC=D0=BE?= =?UTF-8?q?=D0=BB=D1=87=D0=B0=D0=BD=D0=B8=D1=8E=20=D0=BF=D1=80=D0=B8=20?= =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=B2=D0=BE=D0=BC=20=D1=81=D0=BE=D0=B7=D0=B4?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D0=B8.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- handlers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/handlers.py b/handlers.py index 1244738..62b22b4 100644 --- a/handlers.py +++ b/handlers.py @@ -475,7 +475,8 @@ class FileServerHandler(BaseHTTPRequestHandler): token = params.get("token", [""])[0] username = params.get("username", [""])[0] password = params.get("password", [""])[0] - quota_mb = params.get("drive_quota", [""])[0] + # quota_mb = params.get("drive_quota", [""])[0] + quota_mb = str(CONFIG["storage"]["default_quota_mb"]) if token != CONFIG["security"]["api_token"]: self.send_html("

Invalid token

", 403)