diff options
author | Graham Dumpleton <Graham.Dumpleton@gmail.com> | 2021-06-18 13:08:34 +1000 |
---|---|---|
committer | Graham Dumpleton <Graham.Dumpleton@gmail.com> | 2021-06-18 13:08:34 +1000 |
commit | cda74aff3975794242bbd6533a59264ea06954ac (patch) | |
tree | 19fd3896acd67480f7244650e74eb0d43b971e53 /src | |
parent | 464d593643ddd9ffd541aca22d1b84080e408a11 (diff) | |
download | mod_wsgi-cda74aff3975794242bbd6533a59264ea06954ac.tar.gz |
Wrong import function used.
Diffstat (limited to 'src')
-rw-r--r-- | src/server/mod_wsgi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/mod_wsgi.c b/src/server/mod_wsgi.c index 9ebd685..310ccac 100644 --- a/src/server/mod_wsgi.c +++ b/src/server/mod_wsgi.c @@ -3650,7 +3650,7 @@ static PyObject *wsgi_load_source(apr_pool_t *pool, request_rec *r, PyObject *result = NULL; char *source_buf = NULL; - io_module = PyImport_AddModule("io"); + io_module = PyImport_ImportModule("io"); if (!io_module) { goto load_source_finally; } |