summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_python_wsgi.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-03-14 15:09:17 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-03-14 15:09:17 +0300
commit612c083579a78c9d51fa9976e46f45b6cbaf93db (patch)
treeaf98c29218956c418c3e51dfbdb42de66c913acf /src/nxt_python_wsgi.c
parent6f2c9acd1841ca20a1388b34aef64e9f00459090 (diff)
downloadunit-612c083579a78c9d51fa9976e46f45b6cbaf93db.tar.gz
unit-612c083579a78c9d51fa9976e46f45b6cbaf93db.tar.bz2
Fixed unit tests building broken by the previous commit.
Diffstat (limited to 'src/nxt_python_wsgi.c')
-rw-r--r--src/nxt_python_wsgi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_python_wsgi.c b/src/nxt_python_wsgi.c
index 1b838041..30bd4939 100644
--- a/src/nxt_python_wsgi.c
+++ b/src/nxt_python_wsgi.c
@@ -242,6 +242,8 @@ nxt_python_wsgi_init(nxt_thread_t *thr, nxt_runtime_t *rt)
Py_DECREF(obj);
+ nxt_app = &nxt_python_module;
+
return NXT_OK;
fail: