save files in activities/ directory (without timestamp)

This commit is contained in:
petergardfjall 2014-11-11 12:42:05 +01:00
parent c8c45c62e7
commit cd5728715c
2 changed files with 4 additions and 5 deletions

View File

@ -48,8 +48,8 @@ For each activity, these files are stored:
- an activity FIT file (binary) (if available -- the activity may have
been entered manually rather than imported from a Garmin device).
All files are written to the same directory (``activities/<timestamp>/``
by default). Each activity file is prefixed by its upload timestamp and its
All files are written to the same directory (``activities/`` by default).
Each activity file is prefixed by its upload timestamp and its
activity id.

View File

@ -40,9 +40,8 @@ if __name__ == "__main__":
"--password", type=str, help="Account password.")
parser.add_argument(
"--destination", metavar="DIR", type=str,
help=("Destination directory for downloaded activities. "
"Default: ./activities/<timestamp>/"),
default=os.path.join(".", "activities", datetime.now().isoformat()))
help=("Destination directory for downloaded activities. Default: "
"./activities/"), default=os.path.join(".", "activities"))
parser.add_argument(
"--log-level", metavar="LEVEL", type=str,
help=("Desired log output level (DEBUG, INFO, WARNING, ERROR). "