Private
Public Access
1
0

fix strava webhooks

This commit is contained in:
Sander Roosendaal
2020-07-16 08:49:06 +02:00
parent cbca6d037a
commit 926e03b784

View File

@@ -1073,7 +1073,7 @@ def strava_webhook_view(request):
job = stravastuff.async_get_workout(r.user,stravaid)
elif aspect_type == 'delete':
try:
stravid = data['object_id']
stravaid = data['object_id']
except KeyError:
with open('strava_webhooks.log','a') as f:
f.write('\n')