small fixes and additional logging for rp3
This commit is contained in:
@@ -4824,7 +4824,7 @@ def workout_upload_api(request):
|
||||
stravaid = post_data.get('stravaid','')
|
||||
c2id = post_data.get('c2id','')
|
||||
nkid = post_data.get('nkid','')
|
||||
rp3id = post_data.get('nkid','')
|
||||
rp3id = post_data.get('rp3id','')
|
||||
garminid = post_data.get('garminid',0)
|
||||
|
||||
startdatetime = post_data.get('startdatetime','')
|
||||
@@ -4893,6 +4893,7 @@ def workout_upload_api(request):
|
||||
make_plot = optionsform.cleaned_data['make_plot']
|
||||
plottype = optionsform.cleaned_data['plottype']
|
||||
upload_to_c2 = optionsform.cleaned_data['upload_to_C2']
|
||||
|
||||
upload_to_strava = optionsform.cleaned_data['upload_to_Strava']
|
||||
upload_to_st = optionsform.cleaned_data['upload_to_SportTracks']
|
||||
upload_to_tp = optionsform.cleaned_data['upload_to_TrainingPeaks']
|
||||
@@ -6229,6 +6230,7 @@ def workout_summary_edit_view(request,id,message="",successmessage=""
|
||||
)
|
||||
messages.info(request,'We are checking your time on the course in the background')
|
||||
|
||||
vals = None
|
||||
# feeling lucky / ruptures
|
||||
if request.method == 'POST' and "ruptures" in request.POST:
|
||||
df = pd.DataFrame({
|
||||
@@ -6444,7 +6446,7 @@ def workout_summary_edit_view(request,id,message="",successmessage=""
|
||||
})
|
||||
savebutton = 'savestringform'
|
||||
|
||||
vals = None
|
||||
|
||||
# we are saving the results obtained from the power update form
|
||||
elif request.method == 'POST' and 'selector' in request.POST:
|
||||
powerupdateform = PowerIntervalUpdateForm(request.POST)
|
||||
|
||||
Reference in New Issue
Block a user