Private
Public Access
1
0

added better user opening

This commit is contained in:
Sander Roosendaal
2020-07-12 16:47:11 +02:00
parent fb8ba401a8
commit d83de61d29
3 changed files with 10 additions and 1 deletions

View File

@@ -326,6 +326,7 @@ def create_async_workout(alldata,user,stravaid,debug=False):
from rowers.utils import get_strava_stream
def async_get_workout(user,stravaid):
token = strava_open(user)
csvfilename = 'media/{code}_{stravaid}.csv'.format(code=uuid4().hex[:16],stravaid=stravaid)
job = myqueue(queue,
fetch_strava_workout,