mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-14 20:35:48 +01:00
trying koying's patch for #94
This commit is contained in:
parent
405783cde0
commit
b7c24896c9
@ -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