From f6020247c8f50b5b2a94afedb981e9e9930963df Mon Sep 17 00:00:00 2001 From: Alejandro Villar Date: Mon, 16 Sep 2024 11:24:50 +0200 Subject: [PATCH] Fix bug when invalid jsonld context --- ogc/bblocks/validation/rdf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ogc/bblocks/validation/rdf.py b/ogc/bblocks/validation/rdf.py index b939493..daa9b24 100644 --- a/ogc/bblocks/validation/rdf.py +++ b/ogc/bblocks/validation/rdf.py @@ -143,7 +143,7 @@ def _load_graph(self, filename: Path, output_filename: Path, report: ValidationR )) return - if not self.jsonld_context and not self.prefixes: + if not self.jsonld_context and not prefixes: return report.add_entry(ValidationReportEntry(