Skip to content

Commit

Permalink
fix redefining
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin committed Dec 5, 2024
1 parent d17e0a1 commit f707950
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fundamend/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ def main(
err_console.print(f"The path {xml_path.absolute()} does not exist")
sys.exit(1)
if xml_path.is_dir():
for xml_path in xml_path.rglob("*.xml"):
_convert_to_json_file(xml_path)
for _xml_path in xml_path.rglob("*.xml"):
_convert_to_json_file(_xml_path)
else:
_convert_to_json_file(xml_path)

Expand Down

0 comments on commit f707950

Please sign in to comment.