Skip to content

Commit

Permalink
xml2palette: parse positional attribute of fields as a boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
james-strauss-uwa committed Apr 11, 2022
1 parent e235777 commit 001fa1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/xml2palette/xml2palette.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def parse_param_value(text, prefix, value):
+ value
)
if len(parts) > 7:
positional = parts[6].lower()
positional = parts[6].lower() == "true"
else:
logging.warning(
text + " " +
Expand Down

0 comments on commit 001fa1d

Please sign in to comment.