Skip to content
Snippets Groups Projects
Verified Commit 95096d90 authored by Jonas Leder's avatar Jonas Leder
Browse files

fix qrcode border

parent bbb8774c
Branches
No related tags found
No related merge requests found
Pipeline #7109 passed
...@@ -8,8 +8,8 @@ def makeQR(text): #This function is used to create a QR code and encode it base6 ...@@ -8,8 +8,8 @@ def makeQR(text): #This function is used to create a QR code and encode it base6
qr = QRCode( qr = QRCode(
version=1, version=1,
error_correction=constants.ERROR_CORRECT_L, error_correction=constants.ERROR_CORRECT_L,
box_size=20, box_size=10,
border=4, border=1,
) )
qr.add_data(text) qr.add_data(text)
qr.make(fit=True) qr.make(fit=True)
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment