summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/format/dex
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysa/format/dex')
-rw-r--r--plugins/pychrysa/format/dex/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pychrysa/format/dex/module.c b/plugins/pychrysa/format/dex/module.c
index cea0702..8e6b775 100644
--- a/plugins/pychrysa/format/dex/module.c
+++ b/plugins/pychrysa/format/dex/module.c
@@ -58,7 +58,7 @@ bool add_format_dex_module_to_python_module(PyObject *super)
Py_INCREF(module);
ret = PyModule_AddObject(super, "pychrysalide.format.dex", module);
- result = (ret != 0);
+ result = (ret == 0);
if (ret != 0) /* ... */;