bug fix
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user