Merge tag 'v7.13' into develop
moving strava processing to the right
This commit is contained in:
@@ -159,10 +159,6 @@ class Command(BaseCommand):
|
|||||||
for r in rowers:
|
for r in rowers:
|
||||||
c2stuff.get_c2_workouts(r)
|
c2stuff.get_c2_workouts(r)
|
||||||
|
|
||||||
# Strava
|
|
||||||
rowers = Rower.objects.filter(strava_auto_import=True)
|
|
||||||
for r in rowers:
|
|
||||||
stravastuff.get_strava_workouts(r)
|
|
||||||
|
|
||||||
messages = Message.objects.filter(mailbox_id = workoutmailbox.id)
|
messages = Message.objects.filter(mailbox_id = workoutmailbox.id)
|
||||||
message_ids = [m.id for m in messages]
|
message_ids = [m.id for m in messages]
|
||||||
@@ -245,5 +241,10 @@ class Command(BaseCommand):
|
|||||||
if message.attachments.exists() is False:
|
if message.attachments.exists() is False:
|
||||||
message.delete()
|
message.delete()
|
||||||
|
|
||||||
|
# Strava
|
||||||
|
rowers = Rower.objects.filter(strava_auto_import=True)
|
||||||
|
for r in rowers:
|
||||||
|
stravastuff.get_strava_workouts(r)
|
||||||
|
|
||||||
self.stdout.write(self.style.SUCCESS(
|
self.stdout.write(self.style.SUCCESS(
|
||||||
'Successfully processed email attachments'))
|
'Successfully processed email attachments'))
|
||||||
|
|||||||
Reference in New Issue
Block a user