Skip to content

Commit

Permalink
Fix url encode
Browse files Browse the repository at this point in the history
  • Loading branch information
schaitanya committed Jun 12, 2014
1 parent 5919170 commit 28ebeae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kickbox/api/kickbox.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import urllib

class Kickbox(object):

"""
Expand All @@ -16,6 +18,8 @@ def verify(self, email, options={}):
"""
body = options['query'] if 'query' in options else {}

email = urllib.quote(email)

response = self.client.get('/verify?email=' + email + '', body, options)

return response
Expand Down

0 comments on commit 28ebeae

Please sign in to comment.