diff --git a/feedcake.py b/feedcake.py index e2c808a..55a3aaf 100644 --- a/feedcake.py +++ b/feedcake.py @@ -201,7 +201,7 @@ def process_feed(feed_url, output_filename): f_content.close f = open(public_path + '/' + output_filename, 'w') - f.write(str(feed_soup)) + f.write(str(feed_soup.prettify())) f.close()