summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_python_wsgi.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_python_wsgi.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nxt_python_wsgi.c b/src/nxt_python_wsgi.c
index b9033a75..7e8d1d79 100644
--- a/src/nxt_python_wsgi.c
+++ b/src/nxt_python_wsgi.c
@@ -243,11 +243,6 @@ nxt_python_start(nxt_task_t *task, nxt_process_data_t *data)
app_conf = data->app;
c = &app_conf->u.python;
- if (c->module.length == 0) {
- nxt_alert(task, "python module is empty");
- return NXT_ERROR;
- }
-
if (c->home != NULL) {
len = nxt_strlen(c->home);