Skip to content

Commit

Permalink
Tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
robputt committed Dec 19, 2017
1 parent b27cb81 commit d62c2a9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions this_is_scraper/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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', '<br/>')
return render_template('view_article.html',
article=article,
content=content)
article=article)


if __name__ == "__main__":
Expand Down

0 comments on commit d62c2a9

Please sign in to comment.