mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-29 00:32:06 +08:00
🚑refactor(config): 修复模型type校验 (#1974)
* 🚑refactor(config): 修复模型type校验 * 🚨 auto fix by pre-commit hooks --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
pre-commit-ci[bot]
parent
632ec3e46e
commit
9686a31419
@@ -46,7 +46,7 @@ def _handle_config(plugin: Plugin, exists_module: list[str]):
|
||||
reg_config.value,
|
||||
help=reg_config.help,
|
||||
default_value=reg_config.default_value,
|
||||
type=reg_config.type,
|
||||
type=reg_config.type, # type: ignore
|
||||
arg_parser=reg_config.arg_parser,
|
||||
_override=False,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user