tree: fix update 4

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium
2024-04-27 19:39:04 +02:00
parent 87e2930a13
commit b00f6a3936

View File

@@ -50,7 +50,7 @@ def makeqr(data, file, location, output):
qr = qrcode.QRCode(version=1, box_size=10, error_correction=qrcode.constants.ERROR_CORRECT_H, border=4)
qr.add_data(data)
qr.make(fit=True)
img = qr.make_image(fill_color="red", back_color="white")
img = qr.make_image(fill_color="white", back_color="black")
img = img.convert("RGBA")
pixels = img.load()
for i in range(img.size[0]):