Skip to content

Commit

Permalink
Merge pull request #33 from NASA-IMPACT/fix/et_string
Browse files Browse the repository at this point in the history
Use string representation of output_dir for lxml 3.6.0 compatibility.
  • Loading branch information
sharkinsspatial authored Aug 9, 2024
2 parents 16ca92f + ca4bea4 commit fed8149
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 fed8149

Please sign in to comment.