tweak QR code generation

This commit is contained in:
holger krekel
2023-12-08 14:56:48 +01:00
parent 7cb8f90340
commit 7eec0ab301

View File

@@ -52,7 +52,7 @@ def gen_qr(maildomain, url):
height = size + text_height
image = Image.new("RGBA", (width, height), "white")
qr_final_size = width
qr_final_size = width - (qr_padding * 2)
if num_lines:
draw = ImageDraw.Draw(image)