Private
Public Access
1
0

solve #564 adding fit and tcx tests

This commit is contained in:
Sander Roosendaal
2020-07-09 14:39:44 +02:00
parent 1a74291543
commit 60e85c2876
3 changed files with 84 additions and 1 deletions

View File

@@ -707,7 +707,6 @@ def handle_get_garmin_file(client_id,
)+filetype
response = garmin.get(url, stream=True)
print(response.status_code,filename)
if response.status_code == 200:
with open(filename, 'wb') as out_file:
shutil.copyfileobj(response.raw, out_file)