We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5eca8c commit bad16c8Copy full SHA for bad16c8
1 file changed
nonebot_plugin_l4d2_server/l4_image/html_img.py
@@ -1,10 +1,9 @@
1
from pathlib import Path
2
-import re
3
from typing import List, Optional
4
5
import jinja2
6
from nonebot.log import logger
7
-from nonebot_plugin_htmlrender import html_to_pic, template_to_html, template_to_pic
+from nonebot_plugin_htmlrender import html_to_pic
8
9
from ..config import config
10
from ..utils.api.models import OutServer
@@ -72,7 +71,6 @@ async def get_server_img(plugins: List[OutServer]) -> Optional[bytes]:
72
71
try:
73
if config.l4_style == "default":
74
75
-
76
template = env.get_template("normal.html")
77
else:
78
template = env.get_template("normal_old.html")
0 commit comments