refactor: 抖音登录态检测不在抛出警告,可能会误导使用者
This commit is contained in:
parent
7635ffd9e5
commit
df1e4a7b02
|
@ -80,8 +80,8 @@ class DouYinLogin(AbstractLogin):
|
|||
if local_storage.get("HasUserLogin", "") == "1":
|
||||
return True
|
||||
except Exception as e:
|
||||
utils.logger.warn(f"[DouYinLogin] check_login_state waring: {e}")
|
||||
await asyncio.sleep(1)
|
||||
# utils.logger.warn(f"[DouYinLogin] check_login_state waring: {e}")
|
||||
await asyncio.sleep(0.1)
|
||||
|
||||
if cookie_dict.get("LOGIN_STATUS") == "1":
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue