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_mesh_ply | |
parent | 57f376e9465c6b79ebd4409bc30e0b5930dd4140 (diff) |
Cleanup: identity for None comparison
Diffstat (limited to 'io_mesh_ply')
-rw-r--r-- | io_mesh_ply/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_ply/__init__.py b/io_mesh_ply/__init__.py index 7e2a7037..3e84a4fd 100644 --- a/io_mesh_ply/__init__.py +++ b/io_mesh_ply/__init__.py @@ -134,7 +134,7 @@ class ExportPLY(bpy.types.Operator, ExportHelper, IOPLYOrientationHelper): @classmethod def poll(cls, context): - return context.active_object != None + return context.active_object is not None def execute(self, context): from . import export_ply |