Skip to content
This repository was archived by the owner on Oct 10, 2024. It is now read-only.

查询b50报错 #42

@singledog65

Description

@singledog65

目前只有查询b50的时候报了这个错
File "D:\maimaiBOT\mai-bot-main\mai-bot-main\src\plugins\maimaidx.py", line 300, in _
img, success = await generate50(payload)
File "D:\maimaiBOT\mai-bot-main\mai-bot-main\src\libraries\maimai_best_50.py", line 407, in generate50
pic = DrawBest(sd_best, dx_best, obj["nickname"]).getDir()
File "D:\maimaiBOT\mai-bot-main\mai-bot-main\src\libraries\maimai_best_50.py", line 112, in init
self.draw()
File "D:\maimaiBOT\mai-bot-main\mai-bot-main\src\libraries\maimai_best_50.py", line 327, in draw
playCountInfoW, playCountInfoH = shougouDraw.textsize(playCountInfo, font2)
AttributeError: 'ImageDraw' object has no attribute 'textsize'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions