Private
Public Access
1
0

attempt to fix nk auto import

This commit is contained in:
Sander Roosendaal
2023-05-12 16:30:20 +02:00
parent e6fbd34780
commit 0d478b96c7
4 changed files with 31 additions and 26 deletions

View File

@@ -158,7 +158,10 @@ class NKIntegration(SyncIntegration):
# need to unify workout list
def get_workout_list(self, *args, **kwargs) -> list:
_ = self.open()
try:
_ = self.open()
except NoTokenError:
return []
r = self.rower
before = kwargs.get('before',0)