create a wwwdev.sh entry point for developing the web part

This commit is contained in:
holger krekel
2023-12-07 14:46:52 +01:00
parent 8cb77d3b98
commit 858e079418
16 changed files with 157 additions and 88 deletions

View File

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