mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-25 20:38:51 +00:00
🐛 groupword 修复文件夹名称错误
This commit is contained in:
parent
2e07eed811
commit
ba535f8e31
@ -69,7 +69,7 @@ async def group_word(context):
|
|||||||
return
|
return
|
||||||
except:
|
except:
|
||||||
return
|
return
|
||||||
image = WordCloud(font_path="plugins/wordcloud/wqy-microhei.ttc", width=800, height=400).generate_from_frequencies(
|
image = WordCloud(font_path="plugins/groupword/wqy-microhei.ttc", width=800, height=400).generate_from_frequencies(
|
||||||
words).to_image()
|
words).to_image()
|
||||||
stream = BytesIO()
|
stream = BytesIO()
|
||||||
image.save(stream, 'PNG')
|
image.save(stream, 'PNG')
|
||||||
|
Loading…
Reference in New Issue
Block a user