mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 07:56:52 +08:00
refactor: separate semantic architecture baselines
This commit is contained in:
@@ -322,6 +322,7 @@ def parse_args(argv: Optional[list[str]] = None) -> argparse.Namespace:
|
||||
|
||||
|
||||
def _display_path(path: Path) -> Path:
|
||||
"""优先返回仓库相对路径,便于 CLI 输出稳定可读。"""
|
||||
try:
|
||||
return path.relative_to(PROJECT_ROOT)
|
||||
except ValueError:
|
||||
|
||||
Reference in New Issue
Block a user