Skip to content

Commit

Permalink
run time
Browse files Browse the repository at this point in the history
  • Loading branch information
cndaqiang committed Nov 15, 2023
1 parent 21dabf8 commit 21e6918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion object.py
Original file line number Diff line number Diff line change
Expand Up @@ -1612,7 +1612,7 @@ def RUN(self):#程序入口
self.每日礼包()
#计算休息时间
hour,minu=self.Tool.time_getHM()
leftmin=max((startclock-hour)*60-minu,0)
leftmin=max(((startclock+24-hour)%24)*60-minu,0)
if self.移动端.容器优化:leftmin=leftmin+self.mynode*1#这里的单位是分钟,每个node别差别太大
TimeECHO(self.prefix+"预计等待%d min ~ %3.2f h"%(leftmin,leftmin/60.0))
if self.debug: leftmin=0.5
Expand Down

0 comments on commit 21e6918

Please sign in to comment.