Skip to content

Commit

Permalink
fix:暂时售罄时亦可下单(万一上家美付钱呢?)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hobr committed Jul 7, 2024
1 parent b11f6e6 commit e15cd71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/Task/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def QueryTicketAction(self) -> None:
"""
logger.info("【获取票数】正在蹲票...")
code, msg, clickable, salenum = self.api.QueryAmount()
self.queryTicketCode = clickable or salenum == 2 # 2: 可售 4: 已售罄 8: 暂时售罄
self.queryTicketCode = clickable or salenum != 4 # 2: 可售 4: 已售罄 8: 暂时售罄

match code:
# 成功
Expand Down

0 comments on commit e15cd71

Please sign in to comment.