From 4c6869e355cee0f5b1b338363168256f2e09047f Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Fri, 23 Jul 2010 13:20:42 +0200 Subject: Release 1.7. pyAggr3g470r generates QR codes with URL of articles. So you can read an article later on your smarphone (or share with friends). --- pyAggr3g470r.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index eb1597d2..205ac3ec 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -2,8 +2,8 @@ #-*- coding: utf-8 -*- __author__ = "Cedric Bonhomme" -__version__ = "$Revision: 1.6 $" -__date__ = "$Date: 2010/07/08 $" +__version__ = "$Revision: 1.7 $" +__date__ = "$Date: 2010/07/23 $" __copyright__ = "Copyright (c) 2010 Cedric Bonhomme" __license__ = "GPLv3" @@ -369,7 +369,7 @@ class Root: if not os.path.isfile("./var/qrcode/"+article_id+".png"): # QR code generation try: - qr = PyQRNative.QRCode(15, PyQRNative.QRErrorCorrectLevel.L) + qr = PyQRNative.QRCode(6, PyQRNative.QRErrorCorrectLevel.L) qr.addData(article[3]) qr.make() im = qr.makeImage() @@ -969,4 +969,4 @@ if __name__ == '__main__': thread_watch_base = threading.Thread(None, root.watch_base_classic, None, ()) thread_watch_base.setDaemon(True) thread_watch_base.start() - cherrypy.quickstart(root, config=path) \ No newline at end of file + cherrypy.quickstart(root, config=path) -- cgit