mirror of
https://github.com/Genshin-bots/gsuid_core.git
synced 2025-05-09 05:25:48 +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:
|
else:
|
||||||
img_byte = io.BytesIO()
|
img_byte = io.BytesIO()
|
||||||
img.save(img_byte, format='PNG') # type: ignore
|
img.save(img_byte, format='PNG') # type: ignore
|
||||||
img = img_byte.read()
|
img = img_byte.getvalue()
|
||||||
|
|
||||||
return img
|
return img
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user