From 4c8de1f387b23148cdc43921d94b8e62e74f49a8 Mon Sep 17 00:00:00 2001 From: Ben Marshall Date: Fri, 13 Dec 2024 19:46:36 +0000 Subject: [PATCH] Fix preinitialise bug. --- garmin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/garmin.py b/garmin.py index baf5945..6b61a8b 100644 --- a/garmin.py +++ b/garmin.py @@ -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: