Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Commit

Permalink
Fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-Jing committed Apr 2, 2023
1 parent 68a008b commit 440a2ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "nonebot-plugin-bing-chat"
version = "0.7.7"
version = "0.7.8"
description = "基于nonebot2的bing-chat软件"
authors = [{ name = "Harry", email = "[email protected]" }]
readme = "README.md"
Expand Down
3 changes: 1 addition & 2 deletions src/plugins/nonebot_plugin_bing_chat/common/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import json
import shutil
import importlib
from datetime import datetime, timedelta

from nonebot import require, get_driver
Expand Down Expand Up @@ -92,7 +91,7 @@ def init() -> None:
if any(i == 'image' for i, _ in plugin_config.bingchat_display_content_types):
require('nonebot_plugin_apscheduler')
try:
importlib.import_module('nonebot_plugin_htmlrender')
require('nonebot_plugin_htmlrender')
except Exception as exc:
raise RuntimeError(
'请使用 pip install nonebot-plugin-bing-chat[image] markdown渲染插件'
Expand Down

0 comments on commit 440a2ab

Please sign in to comment.