diff --git a/rowers/stravastuff.py b/rowers/stravastuff.py index ea46c3e5..de47568d 100644 --- a/rowers/stravastuff.py +++ b/rowers/stravastuff.py @@ -561,7 +561,8 @@ def workout_strava_upload(user,w): res,mes = handle_stravaexport( f,w.name, r.stravatoken, - description=w.notes+'\n from '+w.workoutsource+' via rowsandall.com') + description=w.notes+'\n from '+w.workoutsource+' via rowsandall.com', + activity_type=r.stravaexportas) if res==0: message = mes w.uploadedtostrava = -1 diff --git a/rowers/templates/async_tasks.html b/rowers/templates/async_tasks.html index 2798d9f3..552f6b45 100644 --- a/rowers/templates/async_tasks.html +++ b/rowers/templates/async_tasks.html @@ -69,7 +69,7 @@ ID Task - Started + Started At Progress Status Action diff --git a/rowers/views.py b/rowers/views.py index a6a6660f..e4fe017a 100644 --- a/rowers/views.py +++ b/rowers/views.py @@ -13300,6 +13300,9 @@ def virtualevents_view(request): ) def virtualevent_view(request,id=0): + + results = [] + if not request.user.is_anonymous(): r = getrower(request.user) else: