made QR codes image generation work again

master
Marek Baczynski 6 years ago
parent 4176c1afcd
commit 7b7c1145ab

@ -62,7 +62,7 @@ def serveCode(code):
box_size=8, box_size=8,
border=3, border=3,
) )
qr.add_data('systemURL + code') qr.add_data(systemURL + code)
qr.make(fit=True) qr.make(fit=True)
img = qr.make_image(fill_color="black", back_color="white") img = qr.make_image(fill_color="black", back_color="white")
return serveImage(img) return serveImage(img)

Loading…
Cancel
Save