pe-st / garmin-connect-export

Download a copy of your Garmin Connect data, including stats and GPX tracks.
MIT License
364 stars 75 forks source link

Doesn't skip existing .fit files #25

Closed fellrnr closed 4 years ago

fellrnr commented 4 years ago

The script failed when repeating a download, not ignoring the existing files correctly, I added this at line 908 which solved the problem for me, though it's not elegant. elif isfile(args.directory + '/activity_' + str(actvty['activityId']) + '.fit'): pass

Display which entry we're skipping.

            print('//#!JFS!# Skipping Garmin Connect activity (exists)')
pe-st commented 4 years ago

I could reproduce the problem and then fix it. Thanks for reporting it!