mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-18 19:30:25 +00:00
use json serialization for #4599
changed my mind about 5410f14aa, probably better to use `json.dumps` to keep it consistent with how we serialize other attributes
This commit is contained in:
@@ -451,7 +451,7 @@ class Patcher:
|
||||
if prop_name == "id":
|
||||
continue
|
||||
if isinstance(value, list):
|
||||
value = repr(value)
|
||||
value = json.dumps(value)
|
||||
pset_rows.append([element.id(), pset_name, prop_name, value])
|
||||
|
||||
if self.should_get_geometry:
|
||||
|
||||
Reference in New Issue
Block a user