Skip to content

Commit

Permalink
🐛 修复 alist.py 挂载路径变量错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Cp0204 committed Nov 21, 2024
1 parent 4b13c85 commit 80307a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media_servers/alist.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def refresh(self, path, force_refresh=True):
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
# 获取父目录
Expand Down

0 comments on commit 80307a1

Please sign in to comment.