From 18080df77aa5c9428efc443609b7a367aa46d551 Mon Sep 17 00:00:00 2001 From: "roberto@debian32" Date: Sat, 8 Jan 2011 11:26:45 +0100 Subject: [PATCH] fix for debian + python2.5 --- plugins/python/pyloader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/python/pyloader.c b/plugins/python/pyloader.c index 424c99a4..a2724eda 100644 --- a/plugins/python/pyloader.c +++ b/plugins/python/pyloader.c @@ -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);