Skip to content

Commit

Permalink
fix: fix Python 3.8 issue (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
tngraf committed Dec 24, 2023
1 parent 7d74c4d commit b93ddee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli_support/CLI.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,6 @@ def write_to_file(self, filename: str) -> None:
comment.append(cdata)

tree = ET.ElementTree(root)
if sys.version_info[:3] > (3, 8):
if not sys.version_info < (3, 9):
ET.indent(tree)
tree.write(filename, encoding="UTF-8")

0 comments on commit b93ddee

Please sign in to comment.