diff options
Diffstat (limited to 'io_import_dxf/dxfimport/do.py')
-rw-r--r-- | io_import_dxf/dxfimport/do.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/io_import_dxf/dxfimport/do.py b/io_import_dxf/dxfimport/do.py index 0e39c5a9..82fea417 100644 --- a/io_import_dxf/dxfimport/do.py +++ b/io_import_dxf/dxfimport/do.py @@ -80,12 +80,12 @@ class Indicator: euclidean = False def __init__(self, i): - if i == "spherical": + if i.upper() == "SPHERICAL": self.spherical = True - elif i == "euclidean": + elif i.upper() == "EUCLIDEAN": self.euclidean = True else: - raise AttributeError("Indication must be 'spherical' or 'planar'.") + raise AttributeError("Indication must be 'spherical' or 'euclidean'. Given: " + str(i)) class Do: |