Skip to content

Commit

Permalink
trying koying's patch for #94
Browse files Browse the repository at this point in the history
  • Loading branch information
robweber committed Jan 23, 2017
1 parent 405783c commit b7c2489
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion resources/lib/dropbox/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,5 +412,8 @@ def encode(o):
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)

0 comments on commit b7c2489

Please sign in to comment.