Permalink
Browse files

Fix KeyError: 'url' issue

  • Loading branch information...
1 parent 8dd0840 commit 8215e8ab2d972dbc4737c3dba0eece4db2a13b26 @willkg willkg committed Feb 26, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 fjord/feedback/views.py
View
@@ -107,7 +107,7 @@ def _handle_feedback_post(request, locale=None, product=None,
opinion = models.Response(
# Data coming from the user
happy=data['happy'],
- url=data['url'],
+ url=data.get('url', u''),
description=data['description'].strip(),
# Inferred data from user agent

0 comments on commit 8215e8a

Please sign in to comment.