summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2018-04-25 15:11:01 +0300
committerValentin Bartenev <vbart@nginx.com>2018-04-25 15:11:01 +0300
commit17160e93529ad72805617b4b7674f28bd1a627d7 (patch)
tree8041045a3d374da6c56d7b497cb8014e2c7dd1a4 /src
parent749f7c03408d0109598f65fabb8ae0bea04a2c33 (diff)
downloadunit-17160e93529ad72805617b4b7674f28bd1a627d7.tar.gz
unit-17160e93529ad72805617b4b7674f28bd1a627d7.tar.bz2
Python: added a missing slash in the path to "pyenv.cfg".
This closes #115 issue on GitHub.
Diffstat (limited to 'src')
-rw-r--r--src/nxt_python_wsgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_python_wsgi.c b/src/nxt_python_wsgi.c
index ab9663a8..df3aa1c3 100644
--- a/src/nxt_python_wsgi.c
+++ b/src/nxt_python_wsgi.c
@@ -210,7 +210,7 @@ nxt_python_init(nxt_task_t *task, nxt_common_app_conf_t *conf)
size_t size;
nxt_int_t pep405;
- static const char pyvenv[] = "pyvenv.cfg";
+ static const char pyvenv[] = "/pyvenv.cfg";
static const char bin_python[] = "/bin/python";
#endif