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/anti_effort/data_source.py | |
parent | 0ae2001ff6c50ed85fe970da8fbfc577a70488d5 (diff) | |
download | ATRI-cbaa309976b8973124c7d66fbe3d50b970727905.tar.gz ATRI-cbaa309976b8973124c7d66fbe3d50b970727905.tar.bz2 ATRI-cbaa309976b8973124c7d66fbe3d50b970727905.zip |
🎨 优化代码
Diffstat (limited to 'ATRI/plugins/anti_effort/data_source.py')
-rw-r--r-- | ATRI/plugins/anti_effort/data_source.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ATRI/plugins/anti_effort/data_source.py b/ATRI/plugins/anti_effort/data_source.py index 2d04823..89b8ae2 100644 --- a/ATRI/plugins/anti_effort/data_source.py +++ b/ATRI/plugins/anti_effort/data_source.py @@ -258,7 +258,7 @@ async def init_source(): with open(file_path, "wb") as f: f.write(data.read()) # type: ignore except Exception: - ServiceTools.service_controller("谁是卷王", False) + ServiceTools("谁是卷王").service_controller(False) log.error(f"插件 anti_effort 装载资源失败. 已自动禁用") log.success("插件 anti_effort 装载资源完成") |