Commit Graph

7 Commits

Author SHA1 Message Date
Peter Gardfjäll
c00ccd3887 Simplify log statements.
Make use of format specifiers in the logging library rather than relying on
string.format(), which makes log output unnecessarily verbose.
2020-04-07 12:49:44 +02:00
Stanislav Khrapov
4ee0cda314
cosmetic code cleanup
Co-authored-by: Stanislav Khrapov <stanislav.khrapov@dbschenker.com>
2020-03-08 20:05:56 +01:00
Stanislav Khrapov
8cd27fcb19
Refactor main script logic into an incremental_backup library function
The overall intent is to make it easier for third-party clients to implement incremental backups as simple function calls to the garminexport library, rather than executing the garminbackup.py script.

Co-authored-by: Stanislav Khrapov <stanislav.khrapov@dbschenker.com>
2020-03-08 17:19:19 +01:00
Daniel Lenski
34c7a823ad allow overriding activity type from CLI 2018-03-28 15:41:43 -07:00
Daniel Lenski
31974b0bf0 allow upload of multiple activity files, and improve error handling 2017-12-21 16:11:21 -08:00
petergardfjall
d6cad6736f merging changes by dlenski 2015-08-27 19:18:26 +02:00
Dan Lenski
c5feaf86c2 add upload_activity client method and upload_activity.py example 2015-08-10 12:41:33 -07:00