Commit bf9e9662 authored by Amaury Forgeot d'Arc's avatar Amaury Forgeot d'Arc

Return the module at the end of its init function.

"import _msi" used to raise a SystemError.
parent 2ba198d2
......@@ -1065,5 +1065,5 @@ PyInit__msi(void)
if (!MSIError)
return NULL;
PyModule_AddObject(m, "MSIError", MSIError);
return NULL;
return m;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment