Private
Public Access
1
0

adding a test

This commit is contained in:
2023-07-11 08:08:07 +02:00
parent 94f341b777
commit 6a5b52e8c2
4 changed files with 12 additions and 5 deletions

View File

@@ -75,14 +75,16 @@ class NKIntegration(SyncIntegration):
return 0
workouts = self.get_workout_list(before=before, after=after)
count = 0
for workout in workouts:
nkid = workout['id']
if workout['new'] == 'NEW':
dologging('nklog.log','Queueing {id}'.format(id=nkid))
self.get_workout(nkid, before=before, after=after)
count += 1
return 1
return count
def get_workout(self, id, *args, **kwargs) -> int: