fix #1864
This commit is contained in:
parent
17e1e6b49b
commit
66af2de416
@ -124,13 +124,12 @@ class SiteChain(ChainBase):
|
||||
return True, f"连接成功,但更新状态失败"
|
||||
return False, "Cookie已失效"
|
||||
|
||||
@staticmethod
|
||||
def __ptlsp_test(site: Site) -> Tuple[bool, str]:
|
||||
def __ptlsp_test(self, site: Site) -> Tuple[bool, str]:
|
||||
"""
|
||||
判断站点是否已经登陆:ptlsp
|
||||
"""
|
||||
site.url = f"{site.url}index.php"
|
||||
return __test(site)
|
||||
return self.__test(site)
|
||||
|
||||
@staticmethod
|
||||
def __parse_favicon(url: str, cookie: str, ua: str) -> Tuple[str, Optional[str]]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user