fix tets
This commit is contained in:
@@ -203,13 +203,13 @@ class StravaIntegration(SyncIntegration):
|
||||
_ = self.open()
|
||||
except NoTokenError:
|
||||
return 0
|
||||
csvfilename = 'media/{code}_{stravaid}.csv'.format(
|
||||
|
||||
code=uuid4().hex[:16], stravaid=stravaid)
|
||||
csvfilename = 'media/{code}_{id}.csv'.format(
|
||||
code=uuid4().hex[:16], id=id)
|
||||
job = myqueue(queue,
|
||||
fetch_strava_workout,
|
||||
self.rower.stravatoken,
|
||||
oauth_data,
|
||||
self.oauth_data,
|
||||
id,
|
||||
csvfilename,
|
||||
self.user.id,
|
||||
@@ -311,7 +311,7 @@ class StravaIntegration(SyncIntegration):
|
||||
|
||||
# token_refresh
|
||||
def token_refresh(self, *args, **kwargs):
|
||||
return super(StravaIntegration).token_refresh(*args, **kwargs)
|
||||
return super(StravaIntegration, self).token_refresh(*args, **kwargs)
|
||||
|
||||
def set_strava_athlete_id():
|
||||
r = self.rower()
|
||||
|
||||
Reference in New Issue
Block a user