fixed mule patch message

This commit is contained in:
roberto@debian32
2011-10-24 18:52:41 +02:00
parent 07fd84f89f
commit 1bf3dd7bf4
+3 -1
View File
@@ -1400,7 +1400,9 @@ int uwsgi_python_mule(char *opt) {
if (uwsgi_endswith(opt, ".py")) {
UWSGI_GET_GIL;
uwsgi_pyimport_by_filename("__main__", opt);
if (uwsgi_pyimport_by_filename("__main__", opt) == NULL) {
return 0;
}
UWSGI_RELEASE_GIL;
return 1;
}