diff --git a/io_ogre/ogre/scene.py b/io_ogre/ogre/scene.py index 311ad89..5bb34fa 100644 --- a/io_ogre/ogre/scene.py +++ b/io_ogre/ogre/scene.py @@ -199,9 +199,9 @@ def _flatten( _c, _f ): dot_materialsv2json(materials, path, separate_files=config.get('SEPARATE_MATERIALS'), prefix=prefix) elif converter_type == "OgreXMLConverter": dot_materials(materials, path, separate_files=config.get('SEPARATE_MATERIALS'), prefix=prefix) - else: # Unkown converter type, error - logger.error("Unkown converter type '{}', will not generate materials".format(converter_type)) - Reports.error.append("Unkown converter type '{}', will not generate materials".format(converter_type)) + else: # Unknown converter type, error + logger.error("Unknown converter type '{}', will not generate materials".format(converter_type)) + Report.error.append("Unknown converter type '{}', will not generate materials".format(converter_type)) doc = ogre_document(materials)