This commit is contained in:
jxxghp
2024-11-19 20:12:27 +08:00
parent a5a734d091
commit de94e5d595
2 changed files with 10 additions and 7 deletions
+2 -1
View File
@@ -35,7 +35,8 @@ class U115Pan(StorageBase, metaclass=Singleton):
"""
try:
if not self.client or not self.client.cookies or force:
self.client = P115Client(self.__credential)
self.client = P115Client(self.__credential,
check_for_relogin=True, app="alipaymini", console_qrcode=False)
self.fs = P115FileSystem(self.client)
except Exception as err:
logger.error(f"115连接失败,请重新扫码登录:{str(err)}")