Skip to content

Commit 1bd560e

Browse files
committed
Code improvement
1 parent 9c05b96 commit 1bd560e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1290,7 +1290,7 @@ def upload_activity_file(api: Garmin) -> None:
12901290

12911291
try:
12921292
# List all .gpx files in test_data
1293-
gpx_files = glob.glob("test_data/*.gpx")
1293+
gpx_files = glob.glob(config.activityfile)
12941294
if not gpx_files:
12951295
print("❌ No .gpx files found in test_data directory.")
12961296
print("ℹ️ Please add GPX files to test_data before uploading.")

0 commit comments

Comments
 (0)