Skip to content

Commit bad16c8

Browse files
committed
🐛fix
1 parent d5eca8c commit bad16c8

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

nonebot_plugin_l4d2_server/l4_image/html_img.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
from pathlib import Path
2-
import re
32
from typing import List, Optional
43

54
import jinja2
65
from nonebot.log import logger
7-
from nonebot_plugin_htmlrender import html_to_pic, template_to_html, template_to_pic
6+
from nonebot_plugin_htmlrender import html_to_pic
87

98
from ..config import config
109
from ..utils.api.models import OutServer
@@ -72,7 +71,6 @@ async def get_server_img(plugins: List[OutServer]) -> Optional[bytes]:
7271
try:
7372
if config.l4_style == "default":
7473

75-
7674
template = env.get_template("normal.html")
7775
else:
7876
template = env.get_template("normal_old.html")

0 commit comments

Comments
 (0)