Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2022-05-10 21:55:10 +02:00
parent 26a99751ca
commit a29e5f6fe7
3 changed files with 5 additions and 2 deletions

View File

@@ -110,7 +110,9 @@ class Command(BaseCommand):
try:
rowers = Rower.objects.filter(nk_auto_import=True)
for r in rowers: # pragma: no cover
dologging("nklog.log","NK Auto import set for rower {id}".format(id=r.user.id))
if user_is_not_basic(r.user):
dologging("nklog.log","User is not basic")
_ = nkstuff.get_nk_workouts(r)
except: # pragma: no cover
exc_type, exc_value, exc_traceback = sys.exc_info()