Skip to content

Commit

Permalink
Merge pull request #22 from tzussman/fix-raw-text
Browse files Browse the repository at this point in the history
Print obj in createRawText even if fun exists
  • Loading branch information
tzussman authored May 6, 2023
2 parents 95a7468 + f71f927 commit 8d81433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion valparse/valparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ def line(string):
for el in self.stack:
if el.fun is not None:
rawtext += line(f"fun:{el.fun}")
elif el.obj is not None:
if el.obj is not None:
rawtext += line(f"obj:{el.obj}")

return rawtext + "}\n"
Expand Down

0 comments on commit 8d81433

Please sign in to comment.