diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-11-16 10:30:21 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-11-16 10:30:21 +0100 |
commit | ee9cf06efa281c418d1bdf19b20957d5ea8a1341 (patch) | |
tree | f43473d8645c6d49f9909757dc071c1970310d73 /src/web/lib | |
parent | Updated CHANGELOG. (diff) | |
download | newspipe-ee9cf06efa281c418d1bdf19b20957d5ea8a1341.tar.gz newspipe-ee9cf06efa281c418d1bdf19b20957d5ea8a1341.tar.bz2 newspipe-ee9cf06efa281c418d1bdf19b20957d5ea8a1341.zip |
Bugfix: argument of type 'NoneType' is not iterable in html.unescape().
Diffstat (limited to 'src/web/lib')
-rw-r--r-- | src/web/lib/feed_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |