mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 15:38:19 +08:00
fix: method name spelling error
This commit is contained in:
@@ -73,7 +73,7 @@ class U115Pan(StorageBase, metaclass=Singleton):
|
|||||||
return None
|
return None
|
||||||
return Credential.from_dict(cookie_dict.dict().get("config"))
|
return Credential.from_dict(cookie_dict.dict().get("config"))
|
||||||
|
|
||||||
def __save_credentail(self, credential: Credential):
|
def __save_credential(self, credential: Credential):
|
||||||
"""
|
"""
|
||||||
设置115认证参数
|
设置115认证参数
|
||||||
"""
|
"""
|
||||||
@@ -117,7 +117,7 @@ class U115Pan(StorageBase, metaclass=Singleton):
|
|||||||
status = self.cloud.qrcode_poll(self._session)
|
status = self.cloud.qrcode_poll(self._session)
|
||||||
if status == QrcodeStatus.Done:
|
if status == QrcodeStatus.Done:
|
||||||
# 确认完成,保存认证信息
|
# 确认完成,保存认证信息
|
||||||
self.__save_credentail(self.cloud.export_credentail())
|
self.__save_credential(self.cloud.export_credentail())
|
||||||
result = {
|
result = {
|
||||||
"status": 1,
|
"status": 1,
|
||||||
"tip": "登录成功!"
|
"tip": "登录成功!"
|
||||||
|
|||||||
Reference in New Issue
Block a user