Removed remaining 288s, replaced with nearest(ind[act]/3600.0) == 0

This commit is contained in:
Trey Blancher 2021-08-26 22:58:21 -04:00
parent 28a44469a6
commit 03d28465eb
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ table = "{a:<50} {f:>10}"
for act in sorted(ind.keys()):
#minutes = "{:d}min".format(int(ind[act]%3600/60))
#hrs = "{:d}hrs".format(int(nearest(ind[act]/3600)))
if ind[act] <= 288:
if nearest(ind[act]/3600.0) == 0:
fhrs = "{:.2f}hrs".format(0.08)
else:
fhrs = "{:.2f}hrs".format(nearest(ind[act]/3600.00))