From ee9cf06efa281c418d1bdf19b20957d5ea8a1341 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 16 Nov 2016 10:30:21 +0100 Subject: Bugfix: argument of type 'NoneType' is not iterable in html.unescape(). --- src/web/lib/feed_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/web/lib/feed_utils.py b/src/web/lib/feed_utils.py index 94ae6e53..ef5d4f08 100644 --- a/src/web/lib/feed_utils.py +++ b/src/web/lib/feed_utils.py @@ -24,7 +24,7 @@ def escape_keys(*keys): result = func(*args, **kwargs) for key in keys: if key in result: - result[key] = html.unescape(result[key]) + result[key] = html.unescape(result[key] or '') return result return metawrapper return wrapper -- cgit