diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-03-19 04:47:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-03-19 04:50:23 +0300 |
commit | 8c378c52c83757b9e78d5a98581bf240ed31a1ec (patch) | |
tree | 4a44a8e7fab77f9f812a8940713f14dceeec512c /io_scene_x | |
parent | 57f376e9465c6b79ebd4409bc30e0b5930dd4140 (diff) |
Cleanup: identity for None comparison
Diffstat (limited to 'io_scene_x')
-rw-r--r-- | io_scene_x/export_x.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_x/export_x.py b/io_scene_x/export_x.py index 64f5ff83..3ecc27e2 100644 --- a/io_scene_x/export_x.py +++ b/io_scene_x/export_x.py @@ -746,7 +746,7 @@ class MeshExportObject(ExportObject): def GetMaterialKey(Material, UVTexture, Index): Image = None - if UVTexture != None and UVTexture.data[Index].image != None: + if UVTexture is not None and UVTexture.data[Index].image is not None: Image = UVTexture.data[Index].image if \ UVTexture.data[Index].image.source == 'FILE' else None |