Closed homileak closed 3 years ago
[2021-07-31 16:51:10,938 nonebot] INFO: Succeeded to import "hoshino.modules.Genshin_Impact_bot-main.almanac" /root/.cache/pypoetry/virtualenvs/pcrbot-k99M20cq-py3.9/lib/python3.9/site-packages/PIL/Image.py:2855: DecompressionBombWarning: Image size (150994944 pixels ) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack. warnings.warn(
不用管,Image读取大的图片文件就会报这个警告
[2021-07-31 16:51:10,938 nonebot] INFO: Succeeded to import "hoshino.modules.Genshin_Impact_bot-main.almanac" /root/.cache/pypoetry/virtualenvs/pcrbot-k99M20cq-py3.9/lib/python3.9/site-packages/PIL/Image.py:2855: DecompressionBombWarning: Image size (150994944 pixels ) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack. warnings.warn(