Skip to content

Commit

Permalink
📝 remove unused func
Browse files Browse the repository at this point in the history
  • Loading branch information
yanyongyu committed Feb 5, 2024
1 parent fcd8fc7 commit c252aa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/appendices/config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ class Config(BaseModel):
在定义好配置模型后,我们可以在插件加载时获取全局配置,导入插件自身的配置模型并使用:

```python {5,11} title=weather/__init__.py
from nonebot import get_driver, get_plugin_config
from nonebot import get_plugin_config

from .config import Config

Expand Down Expand Up @@ -259,7 +259,7 @@ class Config(BaseModel):
```

```python title=weather/__init__.py
from nonebot import get_driver, get_plugin_config
from nonebot import get_plugin_config

from .config import Config

Expand Down

0 comments on commit c252aa1

Please sign in to comment.