d
This commit is contained in:
@@ -246,11 +246,16 @@ def get_polar_workouts(user):
|
||||
try:
|
||||
workouttype = mytypes.polaraccesslink_sports[exercise_dict['detailed-sport-info']]
|
||||
except KeyError:
|
||||
dologging('polar.log',exercise_dict['detailed-sport-info'])
|
||||
dologging('polar.log',workouttype)
|
||||
try:
|
||||
workouttype = mytypes.polarmappinginv[exercise_dict['sport'].lower()]
|
||||
except KeyError:
|
||||
dologging('polar.log',workouttype)
|
||||
pass
|
||||
|
||||
dologging('polar.log',workouttype)
|
||||
|
||||
|
||||
# post file to upload api
|
||||
# TODO: add workouttype
|
||||
|
||||
Reference in New Issue
Block a user