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
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import fileinput
|
import fileinput
|
||||||
import math
|
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
|
@ -74,7 +73,7 @@ for act in sorted(start.keys()):
|
||||||
|
|
||||||
ind[act] = delta
|
ind[act] = delta
|
||||||
gtot += delta
|
gtot += delta
|
||||||
if delta <= 288:
|
if nearest(delta/3600.00) == 0:
|
||||||
gtoth += 0.08
|
gtoth += 0.08
|
||||||
else:
|
else:
|
||||||
gtoth += nearest(delta/3600.00)
|
gtoth += nearest(delta/3600.00)
|
||||||
|
|
Loading…
Reference in New Issue