Private
Public Access
1
0

coverage stuff

This commit is contained in:
Sander Roosendaal
2021-05-26 16:03:59 +02:00
parent 9572a18263
commit 3d6229a1dd
4 changed files with 5 additions and 5 deletions

View File

@@ -264,10 +264,10 @@ def get_workout(user,nkid,do_async=True,startdate='',enddate=''):
before = 0
after = 0
if startdate:
if startdate: # pragma: no cover
startdate = arrow.get(startdate)
after = str(int(startdate.timestamp())*1000)
if enddate:
if enddate: # pragma: no cover
enddate = arrow.get(enddate)
before = str(int(enddate.timestamp())*1000)