refactor(plugin): rename local repo paths setting

This commit is contained in:
InfinityPacer
2026-04-19 07:07:00 +08:00
committed by jxxghp
parent 6d8eed30ce
commit 83187ea17d
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -80,10 +80,10 @@ class PluginHelper(metaclass=WeakSingleton):
"""
获取本地插件来源目录列表。
"""
if not settings.PLUGIN_LOCAL_PATHS:
if not settings.PLUGIN_LOCAL_REPO_PATHS:
return []
paths = []
for item in settings.PLUGIN_LOCAL_PATHS.split(","):
for item in settings.PLUGIN_LOCAL_REPO_PATHS.split(","):
local_path = item.strip()
if not local_path:
continue