Gui: fix SelectionSingleton::sHasSelection
This commit is contained in:
@@ -2428,7 +2428,7 @@ PyObject *SelectionSingleton::sHasSelection(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
const char *doc = nullptr;
|
||||
int resolve = 0;
|
||||
if (!PyArg_ParseTuple(args, "|sO!", &doc, &resolve))
|
||||
if (!PyArg_ParseTuple(args, "|si", &doc, &resolve))
|
||||
return nullptr;
|
||||
|
||||
PY_TRY {
|
||||
|
||||
Reference in New Issue
Block a user