diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_Iterator.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_Iterator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_Iterator.cpp b/source/blender/freestyle/intern/python/BPy_Iterator.cpp index 83601c05b1a..2fe5a3010d2 100644 --- a/source/blender/freestyle/intern/python/BPy_Iterator.cpp +++ b/source/blender/freestyle/intern/python/BPy_Iterator.cpp @@ -110,7 +110,7 @@ static char Iterator_getExactTypeName___doc__[] = " :rtype: string\n"; static PyObject * Iterator_getExactTypeName(BPy_Iterator* self) { - return PyUnicode_FromFormat( self->it->getExactTypeName().c_str() ); + return PyUnicode_FromString( self->it->getExactTypeName().c_str() ); } static char Iterator_increment___doc__[] = |