Removed references to 288s, replaced with nearest(delta/3600.00) == 0

This commit is contained in:
Trey Blancher 2021-08-26 22:49:44 -04:00
parent 30fe02f133
commit 28a44469a6
1 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,6 @@
#!/usr/bin/env python3
import fileinput
import math
import re
import sys
import time
@ -74,7 +73,7 @@ for act in sorted(start.keys()):
ind[act] = delta
gtot += delta
if delta <= 288:
if nearest(delta/3600.00) == 0:
gtoth += 0.08
else:
gtoth += nearest(delta/3600.00)