From 6dd9e2165e09a9139d7fa6c063e508f50fb5826e Mon Sep 17 00:00:00 2001 From: Andreas Demmelbauer Date: Tue, 2 Apr 2019 13:53:06 -0700 Subject: [PATCH] prettify feed --- feedcake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()