diff --git a/rowers/management/commands/processemail.py b/rowers/management/commands/processemail.py index 54a39de5..4c5f8498 100644 --- a/rowers/management/commands/processemail.py +++ b/rowers/management/commands/processemail.py @@ -94,6 +94,11 @@ def processattachment(rower, fileobj, title, uploadoptions,testing=False): uploadoptions['file'] = 'media/'+filename uploadoptions['title'] = title + try: + print("Stravaid ",uploadoptions['stravaid']) + except KeyError: + print("no Strava ID") + url = settings.UPLOAD_SERVICE_URL if not testing: