Commit 4b31cc33 authored by Petrus Janse van Rensburg's avatar Petrus Janse van Rensburg

Merge pull request #873 from djanku/patch-1

Update filters.py
parents 476bca69 2a55cd5c
......@@ -266,7 +266,7 @@ def convert(*args):
See :mod:`flask_admin.contrib.sqla.filters` for usage example.
"""
def _inner(func):
func._converter_for = list(map(str.lower, args))
func._converter_for = list(map(lambda x: x.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