Remove walls which doesn't have width property

how can i remove the walls from list which doesn’t have width property.

rp on wall_3.dyn (78.4 KB)

if you want to avoid the warning in your python code, use try except in the code