Return error under error condition

This commit is contained in:
James Newton 2007-12-19 17:22:15 +00:00
parent 56721d63b8
commit 4bd76ef2ff
1 changed files with 1 additions and 0 deletions

View File

@ -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)