Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2017-06-29 16:23:01 +02:00
parent 4351c0fd64
commit ebf7eb9bd2

View File

@@ -3010,7 +3010,11 @@ def otwrankings_view(request,theuser=0,
if not np.isnan(pwr): if not np.isnan(pwr):
try:
pwr2 = pwr*ratio pwr2 = pwr*ratio
except:
pwr2 = pwr
a = { a = {
'duration':timedeltaconv(t), 'duration':timedeltaconv(t),
'power':int(pwr), 'power':int(pwr),