diff --git a/resources/lib/dropbox/rest.py b/resources/lib/dropbox/rest.py index 61b8cc6..a590d4d 100644 --- a/resources/lib/dropbox/rest.py +++ b/resources/lib/dropbox/rest.py @@ -412,5 +412,8 @@ def params_to_urlencoded(params): return o.encode('utf8') else: return str(o) - utf8_params = {encode(k): encode(v) for k, v in params.iteritems()} + utf8_params={} + for k, v in params.iteritems(): + utf8_params[encode(k)]= encode(v) + return urllib.urlencode(utf8_params)