Correct function name in argument parsing
authorCampbell Barton <ideasman42@gmail.com>
Thu, 7 Sep 2017 14:59:27 +0000 (00:59 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 7 Sep 2017 14:59:27 +0000 (00:59 +1000)
source/blender/python/intern/bpy_rna.c

index 6a1016584af9853e9a4eef223129d1df84f275fe..c323366454e8063dc7c087540f020afcddebf3b0 100644 (file)
@@ -3757,7 +3757,7 @@ static PyObject *pyrna_struct_bl_rna_get_subclass(PyObject *cls, PyObject *args)
        char *id;
        PyObject *ret_default = Py_None;
 
-       if (!PyArg_ParseTuple(args, "s|O:bl_rna_find_subclass", &id, &ret_default)) {
+       if (!PyArg_ParseTuple(args, "s|O:bl_rna_get_subclass", &id, &ret_default)) {
                return NULL;
        }
        PyObject *ret = pyrna_struct_bl_rna_find_subclass_recursive(cls, id);