Skip to content

Commit 50df8ff

Browse files
committed
Fixing path to schema dir
1 parent 1e9fe6e commit 50df8ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

presentation_validator/v4/validation4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from referencing import Registry, Resource
1212
from referencing.jsonschema import DRAFT202012
1313

14-
SCHEMA_DIR = Path("schema/v4")
14+
SCHEMA_DIR = Path(__file__).resolve().parent.parent.parent / "schema" / "v4"
1515
BASE_URI = "https://iiif.io/api/presentation/4.0/schema"
1616

1717
def load_schema(path: Path) -> dict:

0 commit comments

Comments
 (0)