diff --git a/py/main/get_seat.py b/py/main/get_seat.py index 636b4a9..8da0b05 100644 --- a/py/main/get_seat.py +++ b/py/main/get_seat.py @@ -342,7 +342,7 @@ def select_seat(build_id, segment, nowday): global MESSAGE retries = 0 # 添加重试计数器 # 初始化 - while not FLAG or retries < 2000: + while not FLAG and retries < 2000: retries += 1 # 获取座位信息 # 优选逻辑