From f74e663658fc29526a767b9e7d93cb5023b9b3ae Mon Sep 17 00:00:00 2001 From: Amy Bowersox Date: Mon, 9 Dec 2019 12:35:15 -0700 Subject: [PATCH] got a test backwards --- src/ep_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ep_util.c b/src/ep_util.c index f4a1c3a..44a49c8 100644 --- a/src/ep_util.c +++ b/src/ep_util.c @@ -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;