From 7eec0ab3019a320895ec1ea7b26865fd811d72b0 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Fri, 8 Dec 2023 14:56:48 +0100 Subject: [PATCH] tweak QR code generation --- deploy-chatmail/src/deploy_chatmail/genqr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy-chatmail/src/deploy_chatmail/genqr.py b/deploy-chatmail/src/deploy_chatmail/genqr.py index 21419859..cc0bd519 100644 --- a/deploy-chatmail/src/deploy_chatmail/genqr.py +++ b/deploy-chatmail/src/deploy_chatmail/genqr.py @@ -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)