workouttype mapping for C2
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user