diff options
Diffstat (limited to 'pyAggr3g470r.py')
-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() |