diff --git a/rowers/stravastuff.py b/rowers/stravastuff.py index 30e8ab61..1aee7605 100644 --- a/rowers/stravastuff.py +++ b/rowers/stravastuff.py @@ -269,6 +269,7 @@ def create_async_workout(alldata,user,stravaid,debug=False): starttimeunix, csvfilename, workouttype = workouttype, + boattype = '1x' ) return 1 @@ -689,6 +690,7 @@ def handle_strava_import_stroke_data(title, starttimeunix, csvfilename,debug=True, workouttype = 'rower', + boattype = '1x' **kwargs): # ready to fetch. Hurray @@ -808,9 +810,11 @@ def handle_strava_import_stroke_data(title, workoutsbox = Mailbox.objects.filter(name='workouts')[0] body = """stravaid {stravaid} -workouttype {workouttype}""".format( +workouttype {workouttype} +boattype {boattype}""".format( stravaid=stravaid, workouttype=workouttype + boattype=boattype ) msg = Message(mailbox=workoutsbox,