fixing pro trial issue
This commit is contained in:
@@ -3618,17 +3618,6 @@ def workout_flexchart3_view(request,*args,**kwargs):
|
||||
# extrametrics = {m.replace('/','_slsh_'):m for m in additionalmetrics}
|
||||
extrametrics = additionalmetrics
|
||||
|
||||
# xparam = xparam.replace('/','_slsh_')
|
||||
# yparam1 = yparam1.replace('/','_slsh_')
|
||||
# yparam2 = yparam2.replace('/','_slsh_')
|
||||
|
||||
|
||||
# for metric in nometrics:
|
||||
# try:
|
||||
# extrametrics.pop(metric)
|
||||
# except KeyError:
|
||||
# pass
|
||||
|
||||
initial = {
|
||||
'xaxis':xparam,
|
||||
'yaxis1':yparam1,
|
||||
@@ -5739,7 +5728,6 @@ def workout_summary_edit_view(request,id,message="",successmessage=""
|
||||
messages.error(request,'Error updating Work per Stroke')
|
||||
elif powerorpace == 'spm':
|
||||
try:
|
||||
print('aap')
|
||||
rowdata.updateinterval_metric(
|
||||
' Cadence (stokes/min)',spm,mode='larger',
|
||||
debug=False,smoothwindow=2.,
|
||||
@@ -5869,7 +5857,6 @@ def workout_summary_edit_view(request,id,message="",successmessage=""
|
||||
activewindow=[activesecondsmin,activesecondsmax],
|
||||
)
|
||||
except:
|
||||
print('mies')
|
||||
messages.error(request,'Error updating SPM')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user