From 0b1561f4474038e9ca6c29272d78794bba594c57 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 14 Dec 2015 21:32:57 +0100 Subject: [PATCH] kivy: fix qr code --- gui/kivy/uix/qrcodewidget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/kivy/uix/qrcodewidget.py b/gui/kivy/uix/qrcodewidget.py index 9283afec0..03e0866d9 100644 --- a/gui/kivy/uix/qrcodewidget.py +++ b/gui/kivy/uix/qrcodewidget.py @@ -102,7 +102,7 @@ class QRCodeWidget(FloatLayout): cr, cg, cb = cr*255, cg*255, cb*255 for r in range(k): for c in range(k): - bext([0, 0, 0] if matrix[r][c] else [cr, cg, cb]) + bext([0, 0, 0] if matrix[k-1-r][c] else [cr, cg, cb]) # then blit the buffer buff = ''.join(map(chr, buff)) # update texture