summaryrefslogtreecommitdiff
path: root/src/python-systemd/login.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/python-systemd/login.c')
-rw-r--r--src/python-systemd/login.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python-systemd/login.c b/src/python-systemd/login.c
index 1e86193f6b..dd2edbca00 100644
--- a/src/python-systemd/login.c
+++ b/src/python-systemd/login.c
@@ -159,7 +159,7 @@ static int Monitor_init(Monitor *self, PyObject *args, PyObject *keywds)
int r;
static const char* const kwlist[] = {"category", NULL};
- if (!PyArg_ParseTupleAndKeywords(args, keywds, "|z", (char**) kwlist,
+ if (!PyArg_ParseTupleAndKeywords(args, keywds, "|z:__init__", (char**) kwlist,
&category))
return -1;