Skip to content

Commit a5e3ad6

Browse files
committed
up
1 parent 6338260 commit a5e3ad6

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,10 @@ Telegram:[@lgc2333](https://t.me/lgc2333)
174174

175175
## 📝 更新日志
176176

177+
### 1.0.3
178+
179+
- 修复小问题
180+
177181
### 1.0.2
178182

179183
- 加入绕过 Cloudflare 的方式

nonebot_plugin_akinator/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from . import __main__ as __main__ # noqa: E402
1515
from .config import ConfigModel, config # noqa: E402
1616

17-
__version__ = "1.0.2.post2"
17+
__version__ = "1.0.3"
1818
__plugin_meta__ = PluginMetadata(
1919
name="Akinator",
2020
description="网络天才",

nonebot_plugin_akinator/render.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ async def wrapper(aki: "BaseAkinator", *args: P.args, **kwargs: P.kwargs) -> byt
8686
additional_style=f"<style>\n{additional_css}\n</style>",
8787
**render_kwargs,
8888
)
89-
debug.write(html, "{time}.html")
89+
if debug.enabled:
90+
debug.write(html, "{time}.html")
9091

9192
@new_router_group.router(f"{ROUTE_BASE_URL}/")
9293
@log_router_err()

0 commit comments

Comments
 (0)