|
@@ -414,7 +414,7 @@ String function cmd_read_attrs(model : Element, element_name : String):
|
|
|
attr_keys = dict_keys(attr_list)
|
|
|
while (0 < set_len(attr_keys)):
|
|
|
attr_key = set_pop(attr_keys)
|
|
|
- result = string_join(result, attr_key) + " : " + cast_value(attr_list[attr_key]) + " = " + cast_value(read_attribute(model, element_name, attr_key)) + "\n"
|
|
|
+ result = string_join(result, attr_key) + " : " + cast_value(attr_list[attr_key]) + " = " + cast_string(read_attribute(model, element_name, attr_key)) + "\n"
|
|
|
return result!
|
|
|
else:
|
|
|
return "Element not found: " + element_name!
|