mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-04 23:17:20 +08:00
refactor: reorganize backend module boundaries
This commit is contained in:
@@ -43,7 +43,7 @@ def _ensure_project_import() -> None:
|
||||
def _load_settings() -> Any:
|
||||
"""读取 MoviePilot 运行配置。"""
|
||||
_ensure_project_import()
|
||||
from app.platform.config import settings # pylint: disable=import-outside-toplevel
|
||||
from app.runtime.config import settings # pylint: disable=import-outside-toplevel
|
||||
|
||||
return settings
|
||||
|
||||
|
||||
Reference in New Issue
Block a user