something to fix in utf8 handling

This commit is contained in:
roberto@sirius
2010-08-17 14:12:52 +02:00
parent f7b1ad8cb0
commit 0ade5aba0a
+1 -1
View File
@@ -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) {