summaryrefslogtreecommitdiff
path: root/ATRI/plugins/polaroid/data_source.py
diff options
context:
space:
mode:
Diffstat (limited to 'ATRI/plugins/polaroid/data_source.py')
-rw-r--r--ATRI/plugins/polaroid/data_source.py2
1 files changed, 1 insertions, 1 deletions
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 装载资源完成")