From d62c2a9d8205618cb5266513ef313ac821c2dd6b Mon Sep 17 00:00:00 2001 From: Robert Putt Date: Tue, 19 Dec 2017 17:39:11 +0000 Subject: [PATCH] Tidy up --- this_is_scraper/viewer.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/this_is_scraper/viewer.py b/this_is_scraper/viewer.py index 5631aa5..6a942d8 100644 --- a/this_is_scraper/viewer.py +++ b/this_is_scraper/viewer.py @@ -44,10 +44,8 @@ def display_article_list(): def display_article(): url = request.args.get('url') article = get_article(url) - content = article.article_content.replace('\r\n', '
') return render_template('view_article.html', - article=article, - content=content) + article=article) if __name__ == "__main__":