mirror of
https://github.com/calesthio/OpenMontage.git
synced 2026-08-05 15:20:40 +08:00
fix: recover bounded defects from PR backlog
This commit is contained in:
@@ -26,7 +26,7 @@ from functools import lru_cache
|
||||
|
||||
@lru_cache(maxsize=1)
|
||||
def _load_manifest_schema() -> dict:
|
||||
with open(SCHEMA_PATH) as f:
|
||||
with open(SCHEMA_PATH, encoding="utf-8") as f:
|
||||
return json.load(f)
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ def load_pipeline(name: str, defs_dir: Optional[Path] = None) -> dict[str, Any]:
|
||||
if not path.exists():
|
||||
raise FileNotFoundError(f"Pipeline manifest not found: {path}")
|
||||
|
||||
with open(path) as f:
|
||||
with open(path, encoding="utf-8") as f:
|
||||
manifest = yaml.safe_load(f)
|
||||
|
||||
schema = _load_manifest_schema()
|
||||
|
||||
Reference in New Issue
Block a user