Private
Public Access
1
0

refactoring importviews, part 1

This commit is contained in:
Sander Roosendaal
2023-02-16 08:39:27 +01:00
parent b179f3f9cf
commit f17fb560c5
10 changed files with 113 additions and 263 deletions

View File

@@ -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)