mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
tweak QR code generation
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user