Skip to content

Commit 7f78607

Browse files
authored
Fix: 修复无法处理 nb-cli 1.5.0 的新格式数据的问题 (#36)
* 🐛 fix template generation error due to metadata update * ⬆️ upgrade nb-cli to `^1.5.0`
1 parent e0a1404 commit 7f78607

3 files changed

Lines changed: 323 additions & 116 deletions

File tree

nb_cli_plugin_docker/handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ async def get_driver_type(
176176
) -> bool:
177177
bot_config = get_nonebot_config()
178178
if adapters is None:
179-
adapters = bot_config.adapters
179+
adapters = bot_config.get_adapters()
180180
if builtin_plugins is None:
181181
builtin_plugins = bot_config.builtin_plugins
182182
if python_path is None:

0 commit comments

Comments
 (0)