Tigge / antfs-cli

Extracts FIT files from ANT-FS based sport watches such as Garmin Forerunner 60, 405CX, 310XT, 610 and 910XT.
MIT License
312 stars 76 forks source link

Only output number of uploading files if uploading #107

Closed caius closed 9 years ago

caius commented 9 years ago

If I'm not uploading files to the watch, then the output of the script shouldn't mention uploading files at all. Previously the status line would print out "Downloading 2 file(s) and uploading 17 file(s)" when I was only downloading files. Now it reads "Downloading 2 file(s)" if I'm just downloading, which doesn't scare me into thinking I've accidentally enabled uploading each time I run the script!

Also removes some trailing whitespace.

Tigge commented 9 years ago

Main branch for development is now https://github.com/Tigge/Garmin-Forerunner-610-Extractor/tree/split, this is a bit unclear unfortunately. I want to get a few more things done before merging though. I think the same problem happens on the split branch though and I'd be happy to take it in there.

caius commented 9 years ago

Ha, no worries. I'll try getting the fix into the split branch locally and open another request with the result of that if you don't beat me to it first. Thanks for figuring this out and writing the script though, so much easier than using the official app! :grinning: