From c567b54b29ad6c07e581105fcfcf6a9de574c010 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8A=E6=9D=89=E4=B9=9D=E6=9C=88?= <70024132+sakurasep@users.noreply.github.com> Date: Mon, 11 Mar 2024 21:10:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BC=98=E9=80=89=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E6=97=A0=E6=B3=95=E5=81=9C=E6=AD=A2=E7=9A=84=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- py/main/get_seat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/main/get_seat.py b/py/main/get_seat.py index 34688fd..7f3dd60 100644 --- a/py/main/get_seat.py +++ b/py/main/get_seat.py @@ -91,7 +91,7 @@ def check_reservation_status(seat_id, m): interrupted = True elif status == "该空间当前状态不可预约": logger.info("此位置已被预约") - if m == "3": + if m == "1": logger.info(f"{seat_id} 已被预约,加入排除名单") global_exclude_ids.add(seat_id) time.sleep(1)