Private
Public Access
1
0

workouttype mapping for C2

This commit is contained in:
Sander Roosendaal
2018-11-14 15:24:14 +01:00
parent fc5ee4517d
commit f52de7e697
3 changed files with 53 additions and 4 deletions

View File

@@ -10822,7 +10822,7 @@ def workout_getimportview(request,externalid,source = 'c2'):
if strokedata.empty:
distance = data['distance']
c2id = data['id']
workouttype = data['type']
workouttype = mytypes.c2mappinginv[data['type']]
verified = data['verified']
startdatetime = iso8601.parse_date(data['date'])
weightclass = data['weight_class']