Skip to content

Commit

Permalink
py3: base: repair compile-fail
Browse files Browse the repository at this point in the history
  • Loading branch information
looooo authored and wwmayer committed May 21, 2017
1 parent 0e9e49c commit 94c68d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Base/MatrixPyImp.cpp
Expand Up @@ -484,7 +484,7 @@ PyObject* MatrixPy::analyze(PyObject * args)
#if PY_MAJOR_VERSION < 3
return PyString_FromString(type.c_str());
#else
return PyUniCode_FromString(type.c_str());
return PyUnicode_FromString(type.c_str());
#endif
}
PY_CATCH;
Expand Down

0 comments on commit 94c68d7

Please sign in to comment.