diff options
Diffstat (limited to 'python/cdromprogress.cc')
| -rw-r--r-- | python/cdromprogress.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/cdromprogress.cc b/python/cdromprogress.cc index 09c76a2a..440b5ce6 100644 --- a/python/cdromprogress.cc +++ b/python/cdromprogress.cc @@ -37,7 +37,7 @@ static PyObject *cdromprogress_change_cdrom(PyObject *self, PyObject *args) // Takes a single PyObject argument as *arg static PyObject *cdromprogress_ask_cdrom_name(PyObject *self, PyObject *arg) { - Py_RETURN_FALSE; + Py_RETURN_NONE; } static PyMethodDef cdromprogress_methods[] = { @@ -47,8 +47,8 @@ static PyMethodDef cdromprogress_methods[] = { "change_cdrom() -> bool\n\nAsk for the CD-ROM to be changed.\n" "Return False if the user requested to cancel the action (default)."}, {"ask_cdrom_name",cdromprogress_ask_cdrom_name,METH_O, - "ask_cdrom_name(name: str) -> bool\n\nAsk for the name of the CD-ROM.\n" - "Return False if the user requested to cancel the action (default)."}, + "ask_cdrom_name() -> str\n\nAsk for the name of the CD-ROM.\n" + "Return None if the user requested to cancel the action (default)."}, {NULL} }; |
