Skip to content
Snippets Groups Projects
Commit 4bd76ef2 authored by James Newton's avatar James Newton
Browse files

Return error under error condition

parent 56721d63
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment