mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-06-18 22:20:33 +08:00
18 lines
391 B
Python
18 lines
391 B
Python
from app.doctor.models import DoctorFinding, DoctorReport
|
|
from app.doctor.runner import DoctorRunner
|
|
|
|
|
|
def run_doctor(*, fix: bool = False, deep: bool = False) -> DoctorReport:
|
|
"""
|
|
运行 MoviePilot 离线诊断并返回报告。
|
|
"""
|
|
return DoctorRunner(fix=fix, deep=deep).run()
|
|
|
|
|
|
__all__ = [
|
|
"DoctorFinding",
|
|
"DoctorReport",
|
|
"DoctorRunner",
|
|
"run_doctor",
|
|
]
|