Private
Public Access
1
0

removing strava fetch

This commit is contained in:
Sander Roosendaal
2021-10-28 17:03:49 +02:00
parent e5a28cbd66
commit 70e85d6665

View File

@@ -330,10 +330,10 @@ class Command(BaseCommand):
message.delete()
# Strava
rowers = Rower.objects.filter(strava_auto_import=True)
for r in rowers:
if user_is_not_basic(r.user): # pragma: no cover
stravastuff.get_strava_workouts(r)
#rowers = Rower.objects.filter(strava_auto_import=True)
#for r in rowers:
# if user_is_not_basic(r.user): # pragma: no cover
# stravastuff.get_strava_workouts(r)
self.stdout.write(self.style.SUCCESS(
'Successfully processed email attachments'))