pep8 edits and change '!= None' to 'is not None'
This commit is contained in:
@@ -13,7 +13,7 @@ class SimpleOperator(bpy.types.Operator):
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
return context.active_object != None
|
||||
return context.active_object is not None
|
||||
|
||||
def execute(self, context):
|
||||
main(context)
|
||||
|
Reference in New Issue
Block a user