summaryrefslogtreecommitdiff
path: root/cherrypy/lib/encoding.py
diff options
context:
space:
mode:
authorRobert Brewer <fumanchu@aminus.org>2007-09-18 17:06:00 +0000
committerRobert Brewer <fumanchu@aminus.org>2007-09-18 17:06:00 +0000
commit75db86321044da04c7742768d96c6419fb8b3fde (patch)
treef9af01cc7c14b4c2f34306436de0389ee8cbf519 /cherrypy/lib/encoding.py
parentc66638f7693aae1b3a5a0b025a6566fe08b6b8d0 (diff)
downloadcherrypy-git-75db86321044da04c7742768d96c6419fb8b3fde.tar.gz
Fix for #730 (missing unicode params after tools.decode).
Diffstat (limited to 'cherrypy/lib/encoding.py')
-rw-r--r--cherrypy/lib/encoding.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/lib/encoding.py b/cherrypy/lib/encoding.py
index 829cc471..1fa67ce3 100644
--- a/cherrypy/lib/encoding.py
+++ b/cherrypy/lib/encoding.py
@@ -41,7 +41,7 @@ def decode_params(encoding):
# value is a list: decode each element
decoded_params[key] = [v.decode(encoding) for v in value]
elif isinstance(value, unicode):
- pass
+ decoded_params[key] = value
else:
# value is a regular string: decode it
decoded_params[key] = value.decode(encoding)