From cbaa309976b8973124c7d66fbe3d50b970727905 Mon Sep 17 00:00:00 2001 From: Kyomotoi <0w0@imki.moe> Date: Fri, 6 Jan 2023 17:09:12 +0800 Subject: =?UTF-8?q?=F0=9F=8E=A8=20=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ATRI/plugins/polaroid/data_source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ATRI/plugins/polaroid/data_source.py') diff --git a/ATRI/plugins/polaroid/data_source.py b/ATRI/plugins/polaroid/data_source.py index e994c5e..37f3904 100644 --- a/ATRI/plugins/polaroid/data_source.py +++ b/ATRI/plugins/polaroid/data_source.py @@ -47,7 +47,7 @@ async def init_source(): with open(path, "wb") as w: w.write(data.read()) # type: ignore except Exception: - ServiceTools.service_controller("拍立得", False) + ServiceTools("拍立得").service_controller(False) log.error(f"插件 polaroid 装载资源失败. 已自动禁用") log.success("插件 polaroid 装载资源完成") -- cgit v1.2.3