diff options
Diffstat (limited to 'io_convert_image_to_mesh_img')
-rw-r--r-- | io_convert_image_to_mesh_img/import_img.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/io_convert_image_to_mesh_img/import_img.py b/io_convert_image_to_mesh_img/import_img.py index 40813bf1..1735d1c3 100644 --- a/io_convert_image_to_mesh_img/import_img.py +++ b/io_convert_image_to_mesh_img/import_img.py @@ -102,7 +102,7 @@ class hirise_dtm_helper(object): # When are we done with this level? endStr = "END" - if not currentObjectName == None: + if not currentObjectName is None: endStr = "END_OBJECT = %s" % currentObjectName line = "" @@ -408,9 +408,9 @@ class hirise_dtm_helper(object): # dimensions shrink as we remove pixels processed_dims = img_props.processed_dims() - if XSize == None: + if XSize is None: XSize = processed_dims[0] - if YSize == None: + if YSize is None: YSize = processed_dims[1] if XSize + XOffset > processed_dims[0]: |