Removed references to 288s, replaced with nearest(delta/3600.00) == 0
This commit is contained in:
parent
30fe02f133
commit
28a44469a6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue