Skip to content

Commit

Permalink
Fix incorrect rdfData
Browse files Browse the repository at this point in the history
  • Loading branch information
avillar committed Feb 12, 2025
1 parent b71d082 commit d0ce9e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ogc/bblocks/postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ def do_postprocess(bblock: BuildingBlock, light: bool = False) -> bool:

if bblock.rdf_data_paths:
bblock.metadata['rdfData'] = [
p.with_base_url(base_url, cwd if base_url else output_file_root) for p in bblock.rdf_data_paths
p.with_base_url(base_url, cwd if base_url else output_file_root)
for p in bblock.rdf_data_paths if p.is_file()
]

if not light:
Expand Down

0 comments on commit d0ce9e8

Please sign in to comment.