Merge pull request #1888 from thsrite/main

This commit is contained in:
jxxghp 2024-04-14 12:31:36 +08:00 committed by GitHub
commit 05bafeaedf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -35,8 +35,6 @@ class PluginManager(metaclass=Singleton):
self.siteshelper = SitesHelper()
self.pluginhelper = PluginHelper()
self.systemconfig = SystemConfigOper()
self.install_online_plugin()
self.init_config()
def init_config(self):
# 停止已有插件

View File

@ -195,8 +195,10 @@ def start_module():
ResourceHelper()
# 加载模块
ModuleManager()
# 安装在线插件
PluginManager().install_online_plugin()
# 加载插件
PluginManager()
PluginManager().start()
# 启动定时服务
Scheduler()
# 启动事件消费