mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2026-05-09 18:27:56 +08:00
🐛 补充主题渲染时遗漏的转发推文中的图片 (#554)
This commit is contained in:
BIN
Binary file not shown.
|
After Width: | Height: | Size: 53 KiB |
@@ -14,3 +14,8 @@ def get_file(file_name: str):
|
||||
with open(path / file_name, encoding="utf8") as f:
|
||||
file_text = f.read()
|
||||
return file_text
|
||||
|
||||
|
||||
def get_bytes(file_name: str):
|
||||
with open(path / file_name, "rb") as f:
|
||||
return f.read()
|
||||
|
||||
Reference in New Issue
Block a user