Skip to content

Commit

Permalink
fix(parser): fixed cases where child textnode is null
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherpickering committed May 5, 2023
1 parent 125c0a8 commit 8e4bc4b
Show file tree
Hide file tree
Showing 4 changed files with 388 additions and 397 deletions.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
else ""
)
+ "*/\n\n"
+ (childnode.text)
+ (childnode.text or "")
)
this_conn["ReportId"] = (
tree.getroot().find("repository-location").get("id")
Expand Down
Loading

0 comments on commit 8e4bc4b

Please sign in to comment.