Skip to content

Commit d0ce9e8

Browse files
committed
Fix incorrect rdfData
1 parent b71d082 commit d0ce9e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ogc/bblocks/postprocess.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ def do_postprocess(bblock: BuildingBlock, light: bool = False) -> bool:
156156

157157
if bblock.rdf_data_paths:
158158
bblock.metadata['rdfData'] = [
159-
p.with_base_url(base_url, cwd if base_url else output_file_root) for p in bblock.rdf_data_paths
159+
p.with_base_url(base_url, cwd if base_url else output_file_root)
160+
for p in bblock.rdf_data_paths if p.is_file()
160161
]
161162

162163
if not light:

0 commit comments

Comments
 (0)