refactorings

This commit is contained in:
Colombo committed 2019-12-22 19:00:59 +04:00
1 parent e0e8970ab9
commit 754d6c385c
13 files changed
+243 -104

No files matched your search

+1 -1
View File
@@ -97,7 +97,7 @@ class IEPolys:
@staticmethod
def load(ie_polys=None):
obj = IEPolys()
if ie_polys is not None:
if ie_polys is not None and isinstance(ie_polys, list):
for (type, points) in ie_polys:
obj.add(type)
obj.n_list().set_points(points)