ruff format
All checks were successful
Garfbot CI/CD Deployment / Deploy (push) Successful in 15s

This commit is contained in:
2026-06-26 19:24:36 -05:00
parent 284e4f92fe
commit dbbfbd638f
6 changed files with 176 additions and 75 deletions

View File

@@ -47,7 +47,7 @@ async def generate_qr(text):
qr = qrcode.QRCode(
version=version,
error_correction=qrcode.constants.ERROR_CORRECT_L, # type: ignore
error_correction=qrcode.constants.ERROR_CORRECT_L, # type: ignore
box_size=box_size,
border=4,
)
@@ -58,7 +58,7 @@ async def generate_qr(text):
qr_image = qr.make_image(fill_color="black", back_color="white")
img_buffer = BytesIO()
qr_image.save(img_buffer, format="PNG") # type: ignore
qr_image.save(img_buffer, format="PNG") # type: ignore
img_buffer.seek(0)
return img_buffer