diff --git a/tools/python/apixml2python/linphone_module.mustache b/tools/python/apixml2python/linphone_module.mustache index 37547302c..ca64847a9 100644 --- a/tools/python/apixml2python/linphone_module.mustache +++ b/tools/python/apixml2python/linphone_module.mustache @@ -147,7 +147,7 @@ static PyGetSetDef pylinphone_{{class_name}}_getseters[] = { static PyTypeObject pylinphone_{{class_name}}Type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ - "linphone.{{name}}", /* tp_name */ + "linphone.{{class_name}}", /* tp_name */ sizeof(pylinphone_{{class_name}}Object), /* tp_basicsize */ 0, /* tp_itemsize */ pylinphone_{{class_name}}_dealloc, /* tp_dealloc */