summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_python_wsgi.c
diff options
context:
space:
mode:
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: