1. Tim Golden
  2. CherryPy

Commits

Robert Brewer  committed 3e6694f

Fix for #436.

  • Participants
  • Parent commits 3f50a6d
  • Branches default

Comments (0)

Files changed (1)

File cherrypy/filters/decodingfilter.py

View file
             if hasattr(value, 'file'):
                 # This is a file being uploaded: skip it
                 decodedParams[key] = value
-            if isinstance(value, list):
+            elif isinstance(value, list):
                 # value is a list: decode each element
                 decodedParams[key] = [v.decode(enc) for v in value]
             else: