1
1
mirror of https://github.com/KenanZhu/AutoLibrary.git synced 2026-06-17 23:13:03 +08:00

style(LibRenew): 删除多余注释,修改部分注释的格式

This commit is contained in:
2026-02-19 17:09:15 +08:00
parent 99d454a566
commit 155b3fe3ca
+1 -3
View File
@@ -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):