fixing #490
This commit is contained in:
@@ -5,37 +5,42 @@ from __future__ import unicode_literals
|
||||
from six import iteritems
|
||||
import collections
|
||||
|
||||
workouttypes = (
|
||||
('water','Standard Racing Shell'),
|
||||
('rower','Indoor Rower'),
|
||||
('skierg','Ski Erg'),
|
||||
('bike','Bike Erg'),
|
||||
('dynamic','Dynamic Indoor Rower'),
|
||||
('slides','Indoor Rower on Slides'),
|
||||
('paddle','Paddle Adapter'),
|
||||
('snow','On-snow'),
|
||||
('coastal','Coastal'),
|
||||
('c-boat','Dutch C boat'),
|
||||
('churchboat','Finnish Church boat'),
|
||||
('Ride','Ride'),
|
||||
('Bike','Bike'),
|
||||
('Run','Run'),
|
||||
('NordicSki','NordicSki'),
|
||||
('Swim','Swim'),
|
||||
('Hike','Hike'),
|
||||
('Walk','Walk'),
|
||||
('Canoeing','Canoeing'),
|
||||
('Crossfit','Crossfit'),
|
||||
('StandUpPaddling','StandUpPaddling'),
|
||||
('IceSkate','IceSkate'),
|
||||
('WeightTraining','WeightTraining'),
|
||||
('InlineSkate','InlineSkate'),
|
||||
('Kayaking','Kayaking'),
|
||||
('Workout','Workout'),
|
||||
('Yoga','Yoga'),
|
||||
('other','Other'),
|
||||
workouttypes_ordered = collections.OrderedDict({
|
||||
'water':'Standard Racing Shell',
|
||||
'rower':'Indoor Rower',
|
||||
'skierg':'Ski Erg',
|
||||
'bikeerg':'Bike Erg',
|
||||
'dynamic':'Dynamic Indoor Rower',
|
||||
'slides':'Indoor Rower on Slides',
|
||||
'paddle':'Paddle Adapter',
|
||||
'snow':'On-snow',
|
||||
'coastal':'Coastal',
|
||||
'c-boat':'Dutch C boat',
|
||||
'churchboat':'Finnish Church boat',
|
||||
'Ride':'Ride',
|
||||
'Bike':'Bike',
|
||||
'Run':'Run',
|
||||
'NordicSki':'NordicSki',
|
||||
'Swim':'Swim',
|
||||
'Hike':'Hike',
|
||||
'Walk':'Walk',
|
||||
'Canoeing':'Canoeing',
|
||||
'Crossfit':'Crossfit',
|
||||
'StandUpPaddling':'StandUpPaddling',
|
||||
'IceSkate':'IceSkate',
|
||||
'WeightTraining':'WeightTraining',
|
||||
'InlineSkate':'InlineSkate',
|
||||
'Kayaking':'Kayaking',
|
||||
'Workout':'Workout',
|
||||
'Yoga':'Yoga',
|
||||
'other':'Other',
|
||||
}
|
||||
)
|
||||
|
||||
workouttypes = tuple((key, value) for key, value in workouttypes_ordered.items())
|
||||
|
||||
|
||||
|
||||
stravamapping = collections.OrderedDict({
|
||||
'water':'Rowing',
|
||||
'rower':'Rowing',
|
||||
|
||||
Reference in New Issue
Block a user