watermellye / arena

28 stars 9 forks source link

无法识别mac版QQ传过来的图片 #9

Closed dgkkjt closed 10 months ago

dgkkjt commented 1 year ago

[2023-04-11 14:10:56,252 pcr-arena] ERROR: cannot identify image file <_io.BytesIO object at 0x7f741b64fb80> Traceback (most recent call last): File "/root/HoshinoBot/hoshino/msghandler.py", line 21, in handle_message await service_func.func(bot, event) File "/root/HoshinoBot/hoshino/modules/priconne/arena/init.py", line 76, in arena_query_b await _arena_query(bot, ev, region=2) File "/root/HoshinoBot/hoshino/modules/priconne/arena/init.py", line 498, in _arena_query image = Image.open(BytesIO(await get_pic(ret.group(2)))) File "/usr/local/lib/python3.8/dist-packages/PIL/Image.py", line 3008, in open raise UnidentifiedImageError( PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x7f741b64fb80>

watermellye commented 10 months ago

不懂mac