I am generating a qr code using python module qrcode.
I am not needing to store the qr code image in a database, just generate it
each time.
controller:
def create_qr():
text = "hello world qr code"
qr_code = qrcode.make(text)
view:
doing the above, the controller is returning a P
I am using qrcode library to generate a QR code.
controller:
def create_qr():
import qrcode
text = "hello world test string"
img = qrcode.make(text)
return locals()
view:
using the above code, img is being returned as a PIL Image object but the
view is not displaying an im
Hi,
I was having this problem too (since 2.10.4), everything worked OK in
2.9.11.
Has exactly the same error as Ariya above.
Running on pythonanywhere I just tried your fix from github.
In this file:
web2py > gluon > packages > dal > pydal > helpers > methods.py
I replaced:
if isinstance(db._a
3 matches
Mail list logo