mirror of
https://github.com/Genshin-bots/gsuid_core.git
synced 2025-05-08 21:15:46 +08:00
🐛 修复其他客户端扫码登录问题 (#24)
This commit is contained in:
parent
d3c3175ae0
commit
3e299aa094
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user