mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 07:27:15 +08:00
refactor: 收口 V3 分层架构与插件兼容边界
This commit is contained in:
@@ -116,3 +116,8 @@ class DoctorRunner:
|
||||
"safe_mode": settings.MOVIEPILOT_SAFE_MODE,
|
||||
"pid": os.getpid(),
|
||||
}
|
||||
|
||||
|
||||
def run_doctor(*, fix: bool = False, deep: bool = False) -> DoctorReport:
|
||||
"""运行 MoviePilot 离线诊断并返回报告。"""
|
||||
return DoctorRunner(fix=fix, deep=deep).run()
|
||||
|
||||
Reference in New Issue
Block a user