Return error under error condition
This commit is contained in:
parent
56721d63b8
commit
4bd76ef2ff
|
@ -114,6 +114,7 @@ static PyObject * idle_getIdleSec(PyObject *self, PyObject *args)
|
|||
else
|
||||
{
|
||||
printf("Couldn't grab properties of system\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (obj)
|
||||
|
|
Loading…
Reference in New Issue