From 155b3fe3ca750c4e54a24e93653344f74c174c61 Mon Sep 17 00:00:00 2001 From: KenanZhu <3471685733@qq.com> Date: Thu, 19 Feb 2026 17:09:15 +0800 Subject: [PATCH] =?UTF-8?q?style(LibRenew):=20=E5=88=A0=E9=99=A4=E5=A4=9A?= =?UTF-8?q?=E4=BD=99=E6=B3=A8=E9=87=8A=EF=BC=8C=E4=BF=AE=E6=94=B9=E9=83=A8?= =?UTF-8?q?=E5=88=86=E6=B3=A8=E9=87=8A=E7=9A=84=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/operators/LibRenew.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/operators/LibRenew.py b/src/operators/LibRenew.py index 238addb..b6c5ef4 100644 --- a/src/operators/LibRenew.py +++ b/src/operators/LibRenew.py @@ -138,9 +138,7 @@ class LibRenew(LibOperator): abs_diff = abs(actual_diff) if abs_diff < best_time_diff or ( abs_diff == best_time_diff and ( - # 优先选择更早的时间 (prefer_earlier and actual_diff <= 0) or - # 优先选择更晚的时间 (not prefer_earlier and actual_diff >= 0) ) ): @@ -203,7 +201,7 @@ class LibRenew(LibOperator): self._showTrace(f"用户 {username} 续约失败 !") # After the renewal, the webpage will display a mask overlay, - # so we need to refresh the page for subsequent operations. + # so we need to refresh the page for subsequent operations. self.__driver.refresh() return False if not self.__selectNearstTime(record, reserve_info):