Make IfcBlender compatible with newer blender api revisions

This commit is contained in:
Thomas Krijnen
2011-12-01 14:23:26 +00:00
parent f6da8285f7
commit 950dd93c4f
@@ -206,7 +206,7 @@ class ImportIFC(bpy.types.Operator, ImportHelper):
def execute(self, context):
if not import_ifc(self.filepath, self.use_names, self.process_relations):
self.report('ERROR',
self.report({'ERROR'},
'Unable to parse .ifc file or no geometrical entities found'
)
return {'FINISHED'}