diff options
author | Kyomotoi <[email protected]> | 2023-01-06 17:09:12 +0800 |
---|---|---|
committer | Kyomotoi <[email protected]> | 2023-01-06 17:09:12 +0800 |
commit | cbaa309976b8973124c7d66fbe3d50b970727905 (patch) | |
tree | 4548232992f0b7549d3fc513859efa099474690a /ATRI/plugins/saucenao/__init__.py | |
parent | 0ae2001ff6c50ed85fe970da8fbfc577a70488d5 (diff) | |
download | ATRI-cbaa309976b8973124c7d66fbe3d50b970727905.tar.gz ATRI-cbaa309976b8973124c7d66fbe3d50b970727905.tar.bz2 ATRI-cbaa309976b8973124c7d66fbe3d50b970727905.zip |
🎨 优化代码
Diffstat (limited to 'ATRI/plugins/saucenao/__init__.py')
-rw-r--r-- | ATRI/plugins/saucenao/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ATRI/plugins/saucenao/__init__.py b/ATRI/plugins/saucenao/__init__.py index b653a13..52cd93e 100644 --- a/ATRI/plugins/saucenao/__init__.py +++ b/ATRI/plugins/saucenao/__init__.py @@ -24,7 +24,7 @@ async def _deal_search(event: MessageEvent): # cache fix if not conf.SauceNAO.key: - ServiceTools.service_controller("以图搜图", False) + ServiceTools("以图搜图").service_controller(False) log.warning("插件 SauceNao 所需的 key 未配置,将被全局禁用,后续填写请手动启用") user_id = event.get_user_id() |