diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.cpp b/source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.cpp index 4bc8a0cb8bb..c693bb0ca3b 100644 --- a/source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.cpp +++ b/source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.cpp @@ -81,7 +81,7 @@ static char BinaryPredicate0D_getName___doc__[] = static PyObject * BinaryPredicate0D_getName( BPy_BinaryPredicate0D *self, PyObject *args) { - return PyUnicode_FromFormat( self->bp0D->getName().c_str() ); + return PyUnicode_FromString( self->bp0D->getName().c_str() ); } static PyObject * BinaryPredicate0D___call__( BPy_BinaryPredicate0D *self, PyObject *args, PyObject *kwds) |