Six import

This commit is contained in:
Ruud committed 2014-10-06 23:01:47 +02:00
1 parent e1eb68e226
commit 6c2aef7a6d
7 files changed
+12 -8

No files matched your search

+2 -2
View File
@@ -28,7 +28,7 @@ def getParams(params):
for item in nested:
if item is nested[-1]:
current[item] = toUnicode(urllib.unquote(value))
current[item] = toUnicode(urllib.parse.unquote(value))
else:
try:
current[item]
@@ -37,7 +37,7 @@ def getParams(params):
current = current[item]
else:
temp[param] = toUnicode(urllib.unquote(value))
temp[param] = toUnicode(urllib.parse.unquote(value))
if temp[param].lower() in ['true', 'false']:
temp[param] = temp[param].lower() != 'false'