From b9b309c0f76293f56e2aaac199f0701da7469512 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 15 Apr 2013 08:22:10 +0200 Subject: Don't append
tag after the content of the article. --- source/pyAggr3g470r.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py index a57c4b3e..d0753537 100755 --- a/source/pyAggr3g470r.py +++ b/source/pyAggr3g470r.py @@ -213,10 +213,8 @@ class pyAggr3g470r(object): description = "

" + utils.clear_string(article["article_content"]) + "

" else: description = article["article_content"] - if description != "": - description += "\n
\n" - else: - description = "

No description available.

\n
\n" + if description == "": + description = "

No description available.

" # Generation of the QR Code for the current article utils.generate_qr_code(article) -- cgit