sports-alliance / sports-lib

A Library for processing GPX, TCX, FIT and JSON files from services such as Strava, Movescount, Garmin, Polar etc
GNU Affero General Public License v3.0
156 stars 21 forks source link

Fix error when a fit file is empty (no activity data) #47

Closed thomaschampagne closed 4 years ago

thomaschampagne commented 4 years ago

@jimmykane Here's my proposition to fix the bug #45

Let me know if you want changes and other improvements ;)

jimmykane commented 4 years ago

Perfect