mirror of
https://github.com/KenanZhu/AutoLibrary.git
synced 2026-06-18 07:23:03 +08:00
style(LibRenew): 删除多余注释,修改部分注释的格式
This commit is contained in:
@@ -138,9 +138,7 @@ class LibRenew(LibOperator):
|
|||||||
abs_diff = abs(actual_diff)
|
abs_diff = abs(actual_diff)
|
||||||
if abs_diff < best_time_diff or (
|
if abs_diff < best_time_diff or (
|
||||||
abs_diff == best_time_diff and (
|
abs_diff == best_time_diff and (
|
||||||
# 优先选择更早的时间
|
|
||||||
(prefer_earlier and actual_diff <= 0) or
|
(prefer_earlier and actual_diff <= 0) or
|
||||||
# 优先选择更晚的时间
|
|
||||||
(not prefer_earlier and actual_diff >= 0)
|
(not prefer_earlier and actual_diff >= 0)
|
||||||
)
|
)
|
||||||
):
|
):
|
||||||
|
|||||||
Reference in New Issue
Block a user