diff --git a/rowers/garmin_stuff.py b/rowers/garmin_stuff.py index 24cb1aee..48f17959 100644 --- a/rowers/garmin_stuff.py +++ b/rowers/garmin_stuff.py @@ -149,9 +149,9 @@ def garmin_workouts_from_summaries(activities): w.starttime = startdatetime.time() w.duration = duration try: - w.activitytype = mytypes.garminmappinginv[activitytype] + w.workouttype = mytypes.garminmappinginv[activitytype] except KeyError: - w.activitytype = 'other' + w.workouttype = 'other' w.name = name w.date = date w.save()