Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2023-02-12 19:05:48 +01:00
parent 0a40457972
commit 35f50ab7d3
2 changed files with 7 additions and 7 deletions

View File

@@ -63,7 +63,7 @@ class NKIntegration(SyncIntegration):
workouts = self.get_workout_list(before=before, after=after)
for workout in workuots:
for workout in workouts:
nkid = workout['id']
if workout['new'] == 'NEW':
dologging('nklog.log','Queueing {id}'.format(id=nkid))
@@ -113,13 +113,13 @@ class NKIntegration(SyncIntegration):
after = kwargs.get('after',0)
# For debugging
startdate = '2021-01-01'
enddate = '2021-06-01'
before = arrow.get(enddate)
before = str(int(before.timestamp()*1000))
#startdate = '2021-01-01'
#enddate = '2021-06-01'
#before = arrow.get(enddate)
#before = str(int(before.timestamp()*1000))
after = arrow.get(startdate)
after = str(int(after.timestamp()*1000))
#after = arrow.get(startdate)
#after = str(int(after.timestamp()*1000))
r = self.rower
authorizationstring = str('Bearer ' + r.nktoken)

Binary file not shown.