diff --git a/ticket.py b/ticket.py index 75d65b6..c42a546 100644 --- a/ticket.py +++ b/ticket.py @@ -187,14 +187,12 @@ async def lock_ticket(day, seats): print("\x07") logger.success(f"锁票成功!支付链接:\nhttps://www.ticketlink.co.kr/global/en/reserve/key/{resp['data']}/price") seats.clear() - await asyncio.sleep(450) else: msg = f"锁票失败!msg:{resp['result']['message']}" if "이전에 진행된 예매가 있습니다" in msg: msg += (f" 有正在进行的预售,请访问以下链接初始化。" f"https://www.ticketlink.co.kr/global/en/reserve/plan/schedule/{day_code}?loadPrevious=true") logger.critical(msg) - await asyncio.sleep(10) else: logger.error(msg) except: