summaryrefslogtreecommitdiff
path: root/source3/python/py_spoolss_forms.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/python/py_spoolss_forms.c')
-rw-r--r--source3/python/py_spoolss_forms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/python/py_spoolss_forms.c b/source3/python/py_spoolss_forms.c
index c677a37fb7..c216e00afe 100644
--- a/source3/python/py_spoolss_forms.c
+++ b/source3/python/py_spoolss_forms.c
@@ -140,7 +140,7 @@ PyObject *spoolss_hnd_setform(PyObject *self, PyObject *args, PyObject *kw)
/* Parse parameters */
if (!PyArg_ParseTupleAndKeywords(
- args, kw, "O!|i", kwlist, &PyDict_Type, &info))
+ args, kw, "O!", kwlist, &PyDict_Type, &info))
return NULL;
if (!get_level_value(info, &level)) {