Skip to content

Commit

Permalink
fixed stupid bug with python add_var
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto De Ioris committed Mar 15, 2014
1 parent ae87fdd commit 5f74e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/python/uwsgi_pymodule.c
Expand Up @@ -11,7 +11,7 @@ static PyObject *py_uwsgi_add_var(PyObject * self, PyObject * args) {
Py_ssize_t vallen = 0;
struct wsgi_request *wsgi_req = py_current_wsgi_req();

if (!PyArg_ParseTuple(args, "#s#s", &key, &keylen, &val, &vallen)) {
if (!PyArg_ParseTuple(args, "s#s#", &key, &keylen, &val, &vallen)) {
return NULL;
}

Expand Down

0 comments on commit 5f74e6d

Please sign in to comment.