refactoring importviews, part 1
This commit is contained in:
@@ -99,6 +99,12 @@ class StravaIntegration(SyncIntegration):
|
||||
def get_token(self, code, *args, **kwargs):
|
||||
return super(StravaIntegration, self).get_token(code, *args, **kwargs)
|
||||
|
||||
def get_name(self):
|
||||
return "Strava"
|
||||
|
||||
def get_shortname(self):
|
||||
return "strava"
|
||||
|
||||
def open(self, *args, **kwargs):
|
||||
dologging('strava_log.log','Getting token for user {id}'.format(id=self.rower.id))
|
||||
token = super(StravaIntegration, self).open(*args, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user