aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rss_generator.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/rss_generator.py b/rss_generator.py
index 05a8b39..77bdf98 100644
--- a/rss_generator.py
+++ b/rss_generator.py
@@ -104,6 +104,9 @@ def get_rss_channel():
path.split(".")[-1] in extensions
and path not in siteconfig.RSS_OMIT
and not is_hidden_path(path.split('.', 1)[1])
- ):
- items.append(RSS_Item(path))
+ ):
+ try:
+ items.append(RSS_Item(path))
+ except UnicodeDecodeError:
+ pass
return items