Private
Public Access
1
0

bugfix promember check

This commit is contained in:
Sander Roosendaal
2017-02-18 20:26:36 +01:00
parent 7cea43738c
commit 209a9e193c
2 changed files with 10 additions and 3 deletions

View File

@@ -233,7 +233,11 @@ def handle_stravaexport(f2,workoutname,stravatoken,description=''):
client = stravalib.Client(access_token=stravatoken)
act = client.upload_activity(f2,'tcx',name=workoutname)
res = act.wait(poll_interval=5.0)
try:
res = act.wait(poll_interval=5.0)
except:
res = 0
# description doesn't work yet. Have to wait for stravalib to update