Private
Public Access
1
0

additional logging

This commit is contained in:
Sander Roosendaal
2022-01-15 13:09:44 +01:00
parent 8e41733e58
commit ec8cc7d836
2 changed files with 4 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ import stravalib
from stravalib.exc import ActivityUploadFailed,TimeoutExceeded
from rowsandall_app.settings import (
POLAR_CLIENT_ID, POLAR_REDIRECT_URI, POLAR_CLIENT_SECRET,
POLAR_CLIENT_ID, POLAR_REDIRECT_URI, POLAR_CLIENT_SECRET,UPLOAD_SERVICE_URL
)
from rowers.utils import dologging
@@ -254,7 +254,7 @@ def get_polar_workouts(user):
'secret':settings.UPLOAD_SERVICE_SECRET,
'file':filename,
}
url = reverse('workout_upload_api')
url = settings.UPLOAD_SERVICE_URL
job = myqueue(queuehigh,