fix aliyun download

This commit is contained in:
jxxghp
2024-09-21 22:06:40 +08:00
parent 7444b3e84b
commit 796dc6d800
2 changed files with 36 additions and 3 deletions
+2
View File
@@ -307,6 +307,8 @@ class U115Pan(StorageBase, metaclass=Singleton):
with open(path, "wb") as f:
f.write(res.content)
return path
else:
logger.warn(f"{fileitem.path} 未获取到下载链接")
except Exception as e:
logger.error(f"115下载失败:{str(e)}")
return None