mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-15 04:45:49 +01:00
Merge pull request #96 from robweber/dropbox_2.6
Koying's patch for #94
This commit is contained in:
commit
17aeb98bf2
@ -412,5 +412,8 @@ def params_to_urlencoded(params):
|
|||||||
return o.encode('utf8')
|
return o.encode('utf8')
|
||||||
else:
|
else:
|
||||||
return str(o)
|
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)
|
return urllib.urlencode(utf8_params)
|
||||||
|
Loading…
Reference in New Issue
Block a user