diff options
author | Valentin Bartenev <vbart@nginx.com> | 2020-07-24 20:25:20 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2020-07-24 20:25:20 +0300 |
commit | 10f90f0d483d1a46a58d7fd42fb406cd46a9c1a6 (patch) | |
tree | 583ef74878585dba04608a6ab529a1d3372af633 /src/nxt_python_wsgi.c | |
parent | 2a71a8a9f4fcd3aedc65fc0c7f33aacf79457492 (diff) | |
download | unit-10f90f0d483d1a46a58d7fd42fb406cd46a9c1a6.tar.gz unit-10f90f0d483d1a46a58d7fd42fb406cd46a9c1a6.tar.bz2 |
Configuration: added checking for presence of mandatory fields.
Diffstat (limited to 'src/nxt_python_wsgi.c')
-rw-r--r-- | src/nxt_python_wsgi.c | 5 |
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); |