summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/debug
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysa/debug')
-rw-r--r--plugins/pychrysa/debug/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pychrysa/debug/module.c b/plugins/pychrysa/debug/module.c
index 7537dc7..cf9d671 100644
--- a/plugins/pychrysa/debug/module.c
+++ b/plugins/pychrysa/debug/module.c
@@ -57,7 +57,7 @@ bool add_debug_module_to_python_module(PyObject *super)
Py_INCREF(module);
ret = PyModule_AddObject(super, "pyoida.debug", module);
- result = (ret != 0);
+ result = (ret == 0);
result &= register_python_binary_debugger(module);