refactor: 抖音登录态检测不在抛出警告,可能会误导使用者

This commit is contained in:
Relakkes 2024-05-27 22:44:35 +08:00
parent 7635ffd9e5
commit df1e4a7b02
1 changed files with 2 additions and 2 deletions

View File

@ -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