Skip to content

Commit

Permalink
Merge pull request #7 from benjmarshall/6-preinitialise-flag-doesnt-p…
Browse files Browse the repository at this point in the history
…opulate-list-of-activities-correctly

Fix preinitialise bug.
  • Loading branch information
benjmarshall authored Dec 13, 2024
2 parents 0d66920 + 4c8de1f commit 7b15aba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion garmin.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,9 @@ def upload_all(dir: Path, preinitialise: bool = False, dryrun: bool = False):
_logger.info(f"Uploading modified file to Garmin Connect")
res = upload(output, original_path=Path(f), dryrun=dryrun)
_logger.debug(f"Adding \"{f}\" to \"uploaded_files\"")
uploaded_files.append(f)
#except:
# _logger.warning(f"Failed to modify file \"{f}\", possibly malformed FIT file.")
uploaded_files.append(f)

if not dryrun:
with files_uploaded.open('w') as f:
Expand Down

0 comments on commit 7b15aba

Please sign in to comment.