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