bug fix flex chart
This commit is contained in:
@@ -6096,7 +6096,9 @@ def workout_flexchart3_view(request,*args,**kwargs):
|
||||
try:
|
||||
t = favorites[favoritenr].xparam
|
||||
except IndexError:
|
||||
favoritenr=-1
|
||||
favoritenr=0
|
||||
except AssertionError:
|
||||
favoritenr=0
|
||||
|
||||
if 'xparam' in kwargs:
|
||||
xparam = kwargs['xparam']
|
||||
@@ -6126,7 +6128,6 @@ def workout_flexchart3_view(request,*args,**kwargs):
|
||||
else:
|
||||
yparam2 = 'hr'
|
||||
|
||||
print favoritenr
|
||||
if favoritenr>=0 and r.showfavoritechartnotes:
|
||||
favoritechartnotes = favorites[favoritenr].notes
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user