py3: fixed error in spreadsheet
This commit is contained in:
parent
3efc4fee9e
commit
9b6ef8563b
|
@ -483,7 +483,7 @@ PyObject* SheetPy::setAlias(PyObject *args)
|
||||||
#else
|
#else
|
||||||
{
|
{
|
||||||
PyObject* unicode = PyUnicode_AsUTF8String(value);
|
PyObject* unicode = PyUnicode_AsUTF8String(value);
|
||||||
v = QString::fromUtf8(PyString_AsString(unicode));
|
getSheetPtr()->setAlias(address, PyString_AsString(unicode));
|
||||||
Py_DECREF(unicode);
|
Py_DECREF(unicode);
|
||||||
}
|
}
|
||||||
else if (PyString_Check(value))
|
else if (PyString_Check(value))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user