fix for debian + python2.5

This commit is contained in:
roberto@debian32
2011-01-08 11:26:45 +01:00
parent 059314e8f3
commit 18080df77a
+1 -1
View File
@@ -113,7 +113,7 @@ int init_uwsgi_app(int loader, void *arg1, struct wsgi_request *wsgi_req, PyThre
// the module contains multiple apps
if (PyDict_Check(wi->callable)) {
if (PyDict_Check((PyObject *)wi->callable)) {
applications = wi->callable;
uwsgi_log("found a multiapp module...\n");
app_list = PyDict_Keys(applications);