fixed mule management

This commit is contained in:
Roberto De Ioris
2013-01-16 17:10:22 +01:00
parent 64f1b844bd
commit 5dd5d92ffb
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -1773,9 +1773,7 @@ int uwsgi_python_mule(char *opt) {
if (uwsgi_endswith(opt, ".py")) {
UWSGI_GET_GIL;
if (uwsgi_pyimport_by_filename("__main__", opt) == NULL) {
return 0;
}
uwsgi_pyimport_by_filename("__main__", opt);
UWSGI_RELEASE_GIL;
return 1;
}