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,8 +3010,12 @@ def otwrankings_view(request,theuser=0,
if not np.isnan(pwr):
pwr2 = pwr*ratio
a = {
try:
pwr2 = pwr*ratio
except:
pwr2 = pwr
a = {
'duration':timedeltaconv(t),
'power':int(pwr),
'upper':int(pwr2)}