Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
J1uShan9 committed Jun 29, 2024
1 parent d824d43 commit dc2c1b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/Task/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,13 @@ def WaitAvailableAction(self) -> None:
logger.info(f"【等待开票】需要等待 {countdown/60:.1f} 分钟")
sleep(600)
countdown -= 600
if 3600 > countdown >= 600:
if 3600 > countdown >= 600:
for _ in range(countdown//60):
countdown = abs(self.api.GetSaleStartTime() - int(time()))
logger.info(f"【等待开票】即将开票! 需要等待 {countdown/60:.1f} 分钟")
sleep(60)
countdown -=60
if 600 > countdown >= 60:
if 600 > countdown >= 60:
for _ in range(countdown//5):
countdown = abs(self.api.GetSaleStartTime() - int(time()))
logger.info(f"【等待开票】准备开票! 需要等待 {countdown/60:.1f} 分钟")
Expand Down

0 comments on commit dc2c1b8

Please sign in to comment.