Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2020-07-05 14:39:06 +02:00
parent 2bacf0716d
commit 34c1f83b70

View File

@@ -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()