[filters] handle TypeError in json parsing filter

This commit is contained in:
Bezleputh 2015-08-31 15:03:54 +02:00
commit 98a8b1509b

View file

@ -78,7 +78,7 @@ class Dict(Filter):
try:
content = content[el]
except (KeyError, IndexError):
except (KeyError, IndexError, TypeError):
return _NOT_FOUND
return content