From 2f0c51283ca1a93cfba4d12521e73cd4a3af2f4f Mon Sep 17 00:00:00 2001 From: Cp0204 Date: Fri, 18 Apr 2025 15:36:06 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=20/=20=E8=B7=AF=E5=BE=84=E6=97=B6=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/run.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/run.py b/app/run.py index 88a9530..e0134aa 100644 --- a/app/run.py +++ b/app/run.py @@ -279,6 +279,7 @@ def get_savepath_detail(): if not is_login(): return jsonify({"success": False, "message": "未登录"}) account = Quark(config_data["cookie"][0], 0) + paths = [] if path := request.args.get("path"): if path == "/": fid = 0 @@ -300,8 +301,7 @@ def get_savepath_detail(): else: return jsonify({"success": False, "data": {"error": "获取fid失败"}}) else: - fid = request.args.get("fid", 0) - paths = [] + fid = request.args.get("fid", "0") file_list = { "list": account.ls_dir(fid), "paths": paths,