Do not let windows complain about missing dll

master
Yevgen Muntyan 2006-11-12 13:15:55 -06:00
parent 8032e45598
commit 3fd8388d52
1 changed files with 3 additions and 0 deletions

View File

@ -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)