diff options
author | cedricbonhomme <devnull@localhost> | 2011-11-24 08:30:09 +0100 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2011-11-24 08:30:09 +0100 |
commit | 063af2be093977287bd05c5cbd8c24e012822646 (patch) | |
tree | fda6142d3984504df9c9040235dab04830b1c9b4 | |
parent | Updated .hgsub (diff) | |
download | newspipe-063af2be093977287bd05c5cbd8c24e012822646.tar.gz newspipe-063af2be093977287bd05c5cbd8c24e012822646.tar.bz2 newspipe-063af2be093977287bd05c5cbd8c24e012822646.zip |
Only use the plain text version of articles for the generation of QR code (not the HTML version).
-rwxr-xr-x | pyAggr3g470r.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index 44fe3331..2ea63f9e 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -445,8 +445,8 @@ class Root: pass if not os.path.isfile("./var/qrcode/" + article_id + ".png"): # QR Code generation - if len(description) < 4296: - f = qr.QRUrl(url = description) + if len(utils.clear_string(description)) < 4296: + f = qr.QRUrl(url = utils.clear_string(description)) else: f = qr.QRUrl(url = article.article_link) f.make() |