aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-11-16 10:30:21 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-11-16 10:30:21 +0100
commitee9cf06efa281c418d1bdf19b20957d5ea8a1341 (patch)
treef43473d8645c6d49f9909757dc071c1970310d73 /src
parentUpdated CHANGELOG. (diff)
downloadnewspipe-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')
-rw-r--r--src/web/lib/feed_utils.py2
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
bgstack15