fixed python module split

This commit is contained in:
roberto@fiorenzo
2010-11-25 09:53:56 +01:00
parent 1d03fdee64
commit 0024bf56be
2 changed files with 5 additions and 5 deletions
+5 -1
View File
@@ -319,9 +319,13 @@ PyObject *uwsgi_uwsgi_loader(void *arg1) {
else {
quick_callable = "application";
}
wsgi_dict = get_uwsgi_pydict(module);
}
else {
wsgi_dict = get_uwsgi_pydict(module);
module[strlen(module)] = ':';
}
wsgi_dict = get_uwsgi_pydict(module);
if (!wsgi_dict) {
return NULL;
}