Do not let windows complain about missing dll
parent
8032e45598
commit
3fd8388d52
|
@ -141,7 +141,10 @@ do_load_file (const char *path)
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_moo_disable_win32_error_message ();
|
||||||
mod = PyImport_ExecCodeModule (modname, code);
|
mod = PyImport_ExecCodeModule (modname, code);
|
||||||
|
_moo_enable_win32_error_message ();
|
||||||
|
|
||||||
Py_DECREF (code);
|
Py_DECREF (code);
|
||||||
|
|
||||||
if (!mod)
|
if (!mod)
|
||||||
|
|
Loading…
Reference in New Issue