From a8e0aac9b037cc32b8deeffbeb4ee77f73f7966f Mon Sep 17 00:00:00 2001 From: Unbit Date: Fri, 5 Dec 2014 09:11:11 +0100 Subject: [PATCH] fixed #787 --- plugins/asyncio/asyncio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/asyncio/asyncio.c b/plugins/asyncio/asyncio.c index ec9f3756..13ca074e 100644 --- a/plugins/asyncio/asyncio.c +++ b/plugins/asyncio/asyncio.c @@ -328,7 +328,7 @@ static void asyncio_loop() { uwsgi.schedule_fix = uwsgi_asyncio_schedule_fix; } -#ifndef UWSGI_PYTHREE +#ifndef PYTHREE PyObject *asyncio = PyImport_ImportModule("trollius"); #else PyObject *asyncio = PyImport_ImportModule("asyncio");