Skip to content

Commit

Permalink
fix: 达到预定次数无法正常终止
Browse files Browse the repository at this point in the history
  • Loading branch information
CHNZYX committed Aug 29, 2024
1 parent 8c8d32c commit 8c8355d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diver.py
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ def end_of_uni(self):
f"计数:{self.count} 剩余:{remain_round} 已使用:{tm//60}小时{tm%60}分钟 平均{tm//self.my_cnt}分钟一次 预计剩余{remain//60}小时{remain%60}分钟",
cnt=str(self.count),
)
if self.debug == 0 and self.check_bonus == 0 and self.nums <= self.my_cnt and self.nums >= 0:
if self.nums <= self.my_cnt and self.nums >= 0:
log.info('已完成上限,准备停止运行')
self.end = 1
self.floor = 0
Expand Down

0 comments on commit 8c8355d

Please sign in to comment.