bug fix
This commit is contained in:
@@ -3010,8 +3010,12 @@ def otwrankings_view(request,theuser=0,
|
|||||||
|
|
||||||
|
|
||||||
if not np.isnan(pwr):
|
if not np.isnan(pwr):
|
||||||
pwr2 = pwr*ratio
|
try:
|
||||||
a = {
|
pwr2 = pwr*ratio
|
||||||
|
except:
|
||||||
|
pwr2 = pwr
|
||||||
|
|
||||||
|
a = {
|
||||||
'duration':timedeltaconv(t),
|
'duration':timedeltaconv(t),
|
||||||
'power':int(pwr),
|
'power':int(pwr),
|
||||||
'upper':int(pwr2)}
|
'upper':int(pwr2)}
|
||||||
|
|||||||
Reference in New Issue
Block a user