Commit c44d77e2 authored by Serge S. Koval's avatar Serge S. Koval

Merge pull request #806 from jmagnusson/py3-filterconverter-fix

Python 3 fix: FilterConverter sub-classing bug
parents 1c63ca96 e49d08ac
......@@ -266,7 +266,7 @@ def convert(*args):
See :mod:`flask.ext.admin.contrib.sqla.filters` for usage example.
"""
def _inner(func):
func._converter_for = map(str.lower, args)
func._converter_for = list(map(str.lower, args))
return func
return _inner
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment