️ 关闭自动转译

This commit is contained in:
2025-04-10 04:44:05 +08:00
parent 35b08867f7
commit b78032b868

View File

@@ -17,7 +17,11 @@ from .schemas.top_info import Info as TOPInfo
from .schemas.tos_info import Info as TOSInfo
env = Environment(
loader=FileSystemLoader(TEMPLATES_DIR), autoescape=True, trim_blocks=True, lstrip_blocks=True, enable_async=True
loader=FileSystemLoader(TEMPLATES_DIR),
autoescape=False, # noqa: S701
trim_blocks=True,
lstrip_blocks=True,
enable_async=True,
)