fix: read catalog coverage under the database

This commit is contained in:
Abdessamad Derraz committed 2026-11-24 02:19:13 +01:00
1 parent b350c21329
commit 02c33be3b5
16 files changed
+129 -52

No files matched your search

+2 -1
View File
@@ -13,6 +13,7 @@ from pathlib import Path
from core.paths import REPO_ROOT
from model import releaserecord
from model.dbpaths import on_disk
@dataclass(frozen=True)
@@ -48,7 +49,7 @@ def bios_dir(db: dict) -> Path:
def collection_path(rel: str) -> Path:
"""A path database.json names, under the database's own folder."""
return current().db.parent / rel
return on_disk(current().db.parent, rel)
def manifests_dir() -> Path: