kore

a fork of the worlds most advanced web framework
Log | Files | Refs | README | LICENSE

commit 6bd3d92fe2d68b209ae416ca5ed11839fa380397
parent a6af458cd2cb143fa605dcff3b39096b2d2d6534
Author: Joris Vink <joris@coders.se>
Date:   Wed, 24 Apr 2019 18:30:07 +0200

unbreak.

Diffstat:
Msrc/python.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/python.c b/src/python.c @@ -3799,9 +3799,9 @@ python_kore_httpclient(PyObject *self, PyObject *args, PyObject *kwargs) } if ((obj = PyDict_GetItemString(kwargs, "tlsverify")) != NULL) { - if (item == Py_True) { + if (obj == Py_True) { client->tlsverify = 1; - } else if (item == Py_False) { + } else if (obj == Py_False) { client->tlsverify = 0; } else { Py_DECREF((PyObject *)client);