Skip to content

Commit

Permalink
fixed psets with parenthesis inside
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Mar 20, 2024
1 parent 56c6627 commit d449027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ifc_psets.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def show_psets(obj):
for gname, pset in psets.items():
for pname, pvalue in pset.items():
oname = pname
ptype, value = pvalue.split("(", -1)
ptype, value = pvalue.split("(", 1)
value = value.strip(")")
value = value.strip("'")
pname = re.sub("[^0-9a-zA-Z]+", "", pname)
Expand Down

0 comments on commit d449027

Please sign in to comment.