Trying to see why RTFD builds fail.

This commit is contained in:
Ahmet Bakan 2015-10-11 20:07:24 -07:00
parent 6a4d9bde07
commit e34af7d1e5

View file

@ -647,7 +647,7 @@ def generate_atom_feeds(app):
updated=post.update, published=post.date)
with open(feed_path, 'w') as out:
feed_str = feed.to_string()
feed_str = text_type(feed.to_string())
try:
out.write(feed_str.encode('utf-8'))
except TypeError: