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,