From ba60a5d88452992afadd8ab2db246285992b0a7f Mon Sep 17 00:00:00 2001 From: KenanZhu <3471685733@qq.com> Date: Thu, 15 Jan 2026 17:08:54 +0800 Subject: [PATCH] =?UTF-8?q?style(comment):=20=E4=BF=AE=E6=94=B9=E4=B8=80?= =?UTF-8?q?=E4=BA=9B=E6=B3=A8=E9=87=8A=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/operators/AutoLib.py | 4 +--- src/operators/LibChecker.py | 12 ++++++------ 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/operators/AutoLib.py b/src/operators/AutoLib.py index 271963d..d5048ee 100644 --- a/src/operators/AutoLib.py +++ b/src/operators/AutoLib.py @@ -214,9 +214,7 @@ class AutoLib(MsgBase): login_config.get("auto_captcha", True), ): return 1 - """ - Here, we collect the run mode from the run config. - """ + # Here, we collect the run mode from the run config. run_mode = run_mode_config.get("run_mode", 0) run_mode = { "auto_reserve": run_mode&0x1, diff --git a/src/operators/LibChecker.py b/src/operators/LibChecker.py index d9635e8..3621304 100644 --- a/src/operators/LibChecker.py +++ b/src/operators/LibChecker.py @@ -336,15 +336,15 @@ class LibChecker(LibOperator): def postRenewCheck( self, record: dict - ): + ) -> bool: """ - Check if the renew operation is successful + Check if the renew operation is successful - Args: - record (dict): The expected record after renewal + Args: + record (dict): The expected record after renewal - Returns: - bool: True if the renew operation is successful, False otherwise + Returns: + bool: True if the renew operation is successful, False otherwise """ # because the special circumstance that the renew operation # do not show the success message or anything else,