Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2022-01-17 15:57:39 +01:00
parent 0992bbf78f
commit a4cb6ff21c
2 changed files with 6 additions and 1 deletions

View File

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