From df1e4a7b02535d3a7bfb6bbe48959dfa96fe00de Mon Sep 17 00:00:00 2001 From: Relakkes Date: Mon, 27 May 2024 22:44:35 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=8A=96=E9=9F=B3=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E6=80=81=E6=A3=80=E6=B5=8B=E4=B8=8D=E5=9C=A8=E6=8A=9B?= =?UTF-8?q?=E5=87=BA=E8=AD=A6=E5=91=8A=EF=BC=8C=E5=8F=AF=E8=83=BD=E4=BC=9A?= =?UTF-8?q?=E8=AF=AF=E5=AF=BC=E4=BD=BF=E7=94=A8=E8=80=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- media_platform/douyin/login.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media_platform/douyin/login.py b/media_platform/douyin/login.py index d2f081f..0c72907 100644 --- a/media_platform/douyin/login.py +++ b/media_platform/douyin/login.py @@ -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