Skip to content

Commit

Permalink
Use string represenation of output_dir for lxml 3.6.0 compatability.
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkinsspatial committed Aug 9, 2024
1 parent 16ca92f commit ca4bea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hls_vi/generate_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def generate_metadata(input_dir: Path, output_dir: Path) -> None:
ET.XMLSchema(file=xsd).assertValid(tree)

tree.write(
output_dir / metadata_path.name.replace("HLS", "HLS-VI"),
str(output_dir / metadata_path.name.replace("HLS", "HLS-VI")),
encoding="utf-8",
xml_declaration=True,
)
Expand Down

0 comments on commit ca4bea4

Please sign in to comment.