got a test backwards

This commit is contained in:
Amy Bowersox 2019-12-09 12:35:15 -07:00
parent 4c2e9d9e15
commit f74e663658
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ HRESULT Epython_register_constants(PyObject *module, PCREGCONSTANT const_table)
Log(LERROR, "register_constants type '%c' unknown", const_table[i].regtype);
return E_UNEXPECTED;
}
if (!rc)
if (rc)
{
Log(LERROR, "Failed to register constant %s", const_table[i].name);
hr = E_FAIL;