summaryrefslogtreecommitdiffstats
path: root/python/environs/py_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'python/environs/py_server.c')
-rw-r--r--python/environs/py_server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/environs/py_server.c b/python/environs/py_server.c
index 4a0c0449..a5128d5b 100644
--- a/python/environs/py_server.c
+++ b/python/environs/py_server.c
@@ -49,8 +49,8 @@ PyObject *server_new(PyObject *self, PyObject *args) {
gchar *certificate = NULL;
guint signature_method = 0;
- if (CheckArgs(args, "Ssssi:server_new")) {
- if(!PyArg_ParseTuple(args, (char *) "szzz|i:server_new",
+ if (CheckArgs(args, "ssssi:server_new")) {
+ if(!PyArg_ParseTuple(args, (char *) "zzzz|i:server_new",
&metadata, &public_key, &private_key, &certificate,
&signature_method))
return NULL;