diff options
Diffstat (limited to 'source/blender/python/intern/bpy_library_write.c')
-rw-r--r-- | source/blender/python/intern/bpy_library_write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_library_write.c b/source/blender/python/intern/bpy_library_write.c index 07a81a3bddb..69dcfdb9455 100644 --- a/source/blender/python/intern/bpy_library_write.c +++ b/source/blender/python/intern/bpy_library_write.c @@ -134,7 +134,7 @@ static PyObject *bpy_lib_write(PyObject *UNUSED(self), PyObject *args, PyObject if (!pyrna_id_FromPyObject(key, &id_store->id)) { PyErr_Format(PyExc_TypeError, - "Expected and ID type, not %.200s", + "Expected an ID type, not %.200s", Py_TYPE(key)->tp_name); ret = NULL; goto finally; |