You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.
[v0.5.4]版本中
nonebot_plugin_arktools/open_recruitment/data_source.py中
第283行
avatar = Image.open(Path().parent / "avatar" / f"{op[1]}.png").convert("RGBA").resize((128, 128)) # 头像
获取到的是nonebot运行路径下的avatar目录,可能应该改为
avatar = Image.open(Path(__file__).parent.parent / "_data" / "operator_info" / "image" / "avatar" / f"{op[1]}.png").convert("RGBA").resize((128, 128)) # 头像
此处为插件安装的目录,与自动更新下载路径一致。
The text was updated successfully, but these errors were encountered: