chiark / gitweb /
systemd-python: update Journal python docstrings
[elogind.git] / src / python-systemd / _reader.c
index 481da245e91efc4be004fa3d5397e078db9f78af..70676acecae85beb86360d79b7fb1795ad70bd89 100644 (file)
@@ -57,7 +57,7 @@ Journal_init(Journal *self, PyObject *args, PyObject *keywds)
     char *path=NULL;
 
     static char *kwlist[] = {"flags", "path", NULL};
-    if (! PyArg_ParseTupleAndKeywords(args, keywds, "|is", kwlist,
+    if (! PyArg_ParseTupleAndKeywords(args, keywds, "|iz", kwlist,
                                       &flags, &path))
         return 1;