diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/param/pyparam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/param/pyparam.c b/source4/param/pyparam.c index af577938d7..d09cfb84dd 100644 --- a/source4/param/pyparam.c +++ b/source4/param/pyparam.c @@ -175,7 +175,7 @@ static PyObject *py_lp_ctx_get(py_talloc_Object *self, PyObject *args) char *param_name; char *section_name = NULL; PyObject *ret; - if (!PyArg_ParseTuple(args, "s|s", ¶m_name, §ion_name)) + if (!PyArg_ParseTuple(args, "s|z", ¶m_name, §ion_name)) return NULL; ret = py_lp_ctx_get_helper(PyLoadparmContext_AsLoadparmContext(self), section_name, param_name); |