diff options
author | Idan Gazit <idan@gazit.me> | 2012-03-12 14:27:56 -0700 |
---|---|---|
committer | Idan Gazit <idan@gazit.me> | 2012-03-12 14:27:56 -0700 |
commit | 03df2cab13dda1be737d40453056757f4bc2644a (patch) | |
tree | 14a9b08a5d280821299476366155f3b7e9fe3001 /oauthlib | |
parent | 39556cc20f663412b8ae653196a306414955ac7f (diff) | |
download | oauthlib-03df2cab13dda1be737d40453056757f4bc2644a.tar.gz |
Actually return the value from urlencode
Diffstat (limited to 'oauthlib')
-rw-r--r-- | oauthlib/utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/oauthlib/utils.py b/oauthlib/utils.py index b8854e5..0b81df4 100644 --- a/oauthlib/utils.py +++ b/oauthlib/utils.py @@ -88,4 +88,5 @@ def urlencode(query): # Convert dictionaries to list of tuples if isinstance(query, dict): query = query.items() - "&".join(['%s=%s' % (escape(k), escape(v)) for k, v in query]) + return "&".join(['='.join([escape(k), escape(v)]) for k, v in query]) + |