@@ -186,7 +186,7 @@ async def handle_weather(bot, event: MessageEvent, args: List[str]):
|
||||
try:
|
||||
# 渲染HTML模板为图片
|
||||
base64_image = await image_manager.render_template_to_base64(
|
||||
"weather.html", weather_info, output_name="weather.png"
|
||||
"weather.html", weather_info, output_name="weather.png", width=1080
|
||||
)
|
||||
|
||||
if base64_image:
|
||||
|
||||
Reference in New Issue
Block a user