diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-01-16 13:58:11 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-01-16 14:02:37 +0300 |
commit | 514e53bb8023775c0abb5c238633b45fe24afae2 (patch) | |
tree | 738bf280bcf33c802f613856b25aa747fb90067a /source/blender/python/intern/bpy_library_write.c | |
parent | ce6d20b54e3077e8d57103de3e7933069a2d54e7 (diff) |
Expose batch IDs deletion in python API.
Follow-up to previous commit.
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; |