From 8c378c52c83757b9e78d5a98581bf240ed31a1ec Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 19 Mar 2017 12:47:06 +1100 Subject: Cleanup: identity for None comparison --- add_mesh_BoltFactory/Boltfactory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'add_mesh_BoltFactory') diff --git a/add_mesh_BoltFactory/Boltfactory.py b/add_mesh_BoltFactory/Boltfactory.py index 66b0c32f..be0ba617 100644 --- a/add_mesh_BoltFactory/Boltfactory.py +++ b/add_mesh_BoltFactory/Boltfactory.py @@ -266,7 +266,7 @@ class add_mesh_bolt(bpy.types.Operator): ##### POLL ##### @classmethod def poll(cls, context): - return context.scene != None + return context.scene is not None ##### EXECUTE ##### def execute(self, context): -- cgit v1.2.3