🐛 修复其他客户端扫码登录问题 (#24)

This commit is contained in:
HRS 2023-07-10 11:04:02 +08:00 committed by GitHub
parent d3c3175ae0
commit 3e299aa094
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ async def get_qrcode_base64(url: str, path: Path, bot_id: str) -> bytes:
else:
img_byte = io.BytesIO()
img.save(img_byte, format='PNG') # type: ignore
img = img_byte.read()
img = img_byte.getvalue()
return img