Skip to content

Commit

Permalink
Added mapping for Spinning to Ergometer
Browse files Browse the repository at this point in the history
  • Loading branch information
pkpio committed Aug 13, 2018
1 parent e1ae947 commit 92b8f8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions convertors.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ def ConvertFitbitActivityLog(self, activity):
activityType = 24
elif activity['activityName'] in ('Ultimate frisbee', 'Frisbee'):
activityType = 30
elif activity['activityName'] in ('Spinning'):
activityType = 103
else:
activityType = 4 # Unknown activity

Expand Down

0 comments on commit 92b8f8f

Please sign in to comment.