mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-07 14:11:46 +00:00
fixed python multiapp loading
This commit is contained in:
@@ -376,10 +376,14 @@ PyObject *uwsgi_uwsgi_loader(void *arg1) {
|
||||
}
|
||||
|
||||
applications = PyDict_GetItemString(uwsgi_dict, "applications");
|
||||
if (applications) return applications;
|
||||
if (applications && PyDict_Check(applications)) return applications;
|
||||
|
||||
|
||||
uwsgi_log("QUICK CALLABLE = %s\n", quick_callable);
|
||||
applications = PyDict_GetItemString(wsgi_dict, "applications");
|
||||
if (applications) return applications;
|
||||
if (applications && PyDict_Check(applications)) return applications;
|
||||
|
||||
uwsgi_log("QUICK CALLABLE = %s\n", quick_callable);
|
||||
|
||||
// quick callable -> thanks gunicorn for the idea
|
||||
// we have extended the concept a bit...
|
||||
|
||||
Reference in New Issue
Block a user