diff options
Diffstat (limited to 'Mac/Modules')
-rw-r--r-- | Mac/Modules/MacOS.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/MacOS.c b/Mac/Modules/MacOS.c index 4eabb39..3fe6e0d 100644 --- a/Mac/Modules/MacOS.c +++ b/Mac/Modules/MacOS.c @@ -357,7 +357,7 @@ MacOS_GetErrorString(PyObject *self, PyObject *args) PyObject *m, *rv; errors_loaded = 1; - m = PyImport_ImportModule("macresource"); + m = PyImport_ImportModuleNoBlock("macresource"); if (!m) { if (Py_VerboseFlag) PyErr_Print(); |