mirror of
https://github.com/SeedSigner/seedsigner.git
synced 2026-10-05 23:18:25 +00:00
fix show seed qr crash
This commit is contained in:
@@ -1034,6 +1034,8 @@ class SeedToolsView(View):
|
||||
if len(seed_phrase) == 24:
|
||||
width = (qr_border + 29 + qr_border) * pixels_per_block
|
||||
height = width
|
||||
data = e.nextPart()
|
||||
qr = QR()
|
||||
image = qr.qrimage(data, width=width, height=height, border=qr_border).convert("RGBA")
|
||||
|
||||
# Render gridlines but leave the 1-block border as-is
|
||||
|
||||
Reference in New Issue
Block a user