fix bug
This commit is contained in:
parent
fb39500428
commit
10ad9a5601
@ -211,7 +211,7 @@ class Settings(BaseSettings):
|
|||||||
# 大内存模式
|
# 大内存模式
|
||||||
BIG_MEMORY_MODE: bool = False
|
BIG_MEMORY_MODE: bool = False
|
||||||
# 插件市场仓库地址,多个地址使用,分隔,地址以/结尾
|
# 插件市场仓库地址,多个地址使用,分隔,地址以/结尾
|
||||||
PLUGIN_MARKET: str = "https://raw.githubusercontent.com/jxxghp/MoviePilot-Plugins/main/"
|
PLUGIN_MARKET: str = "https://github.com/jxxghp/MoviePilot-Plugins/"
|
||||||
# Github token,提高请求api限流阈值 ghp_****
|
# Github token,提高请求api限流阈值 ghp_****
|
||||||
GITHUB_TOKEN: str = None
|
GITHUB_TOKEN: str = None
|
||||||
# 自动检查和更新站点资源包(站点索引、认证等)
|
# 自动检查和更新站点资源包(站点索引、认证等)
|
||||||
|
@ -45,7 +45,7 @@ class PluginHelper(metaclass=Singleton):
|
|||||||
if not repo_url:
|
if not repo_url:
|
||||||
return None, None
|
return None, None
|
||||||
try:
|
try:
|
||||||
user, repo = repo_url.split("/")[-4:-2]
|
user, repo = repo_url.split("/")[-3:-1]
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(str(e))
|
print(str(e))
|
||||||
return None, None
|
return None, None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user