🐛 修复 alist.py 挂载路径变量错误

This commit is contained in:
Cp0204 2024-11-21 20:36:17 +08:00
parent 4b13c85834
commit d3648f7376

View File

@ -117,7 +117,7 @@ class Alist:
return data.get("data")
elif "object not found" in data.get("message", ""):
# 如果是根目录就不再往上查找
if path == "/" or path == self.quark_root_path:
if path == "/" or path == self.storage_mount_path:
print(f"📁 Alist刷新根目录不存在请检查 Alist 配置")
return False
# 获取父目录