From 51254e2b9705b8919214279c458b020da42fbeb6 Mon Sep 17 00:00:00 2001 From: thsrite Date: Sun, 17 Mar 2024 12:47:28 +0800 Subject: [PATCH] fix plugin name --- package.json | 2 +- plugins/trcommand/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 70b2c5c..d0aa368 100644 --- a/package.json +++ b/package.json @@ -407,7 +407,7 @@ "author": "DzAvril", "level": 1 }, - "TrCommond": { + "TrCommand": { "name": "TR远程操作", "description": "通过定时任务或交互命令远程操作TR暂停/开始/限速等。", "version": "1.1", diff --git a/plugins/trcommand/__init__.py b/plugins/trcommand/__init__.py index 5dc8abc..9258800 100644 --- a/plugins/trcommand/__init__.py +++ b/plugins/trcommand/__init__.py @@ -10,7 +10,7 @@ from app.core.event import eventmanager, Event import time -class TrCommond(_PluginBase): +class TrCommand(_PluginBase): # 插件名称 plugin_name = "TR远程操作" # 插件描述