From 0ade5aba0a2d698469bc1b01d2f30dcf825025ee Mon Sep 17 00:00:00 2001 From: "roberto@sirius" Date: Tue, 17 Aug 2010 14:12:52 +0200 Subject: [PATCH] something to fix in utf8 handling --- uwsgi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uwsgi.c b/uwsgi.c index 13dac40c..da261876 100644 --- a/uwsgi.c +++ b/uwsgi.c @@ -1454,8 +1454,8 @@ int main(int argc, char *argv[], char *envp[]) { } } - // reinitialize the random seed (thanks Jonas Borgström) PyObject *random_module = PyImport_ImportModule("random"); + // reinitialize the random seed (thanks Jonas Borgström) if (random_module) { PyObject *random_dict = PyModule_GetDict(random_module); if (random_dict) {