bug fix
This commit is contained in:
@@ -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)}
|
||||
|
||||
Reference in New Issue
Block a user