summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/analysis/binaries
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysa/analysis/binaries')
-rw-r--r--plugins/pychrysa/analysis/binaries/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pychrysa/analysis/binaries/module.c b/plugins/pychrysa/analysis/binaries/module.c
index 084e0a4..e3daf0e 100644
--- a/plugins/pychrysa/analysis/binaries/module.c
+++ b/plugins/pychrysa/analysis/binaries/module.c
@@ -57,7 +57,7 @@ bool add_binaries_module_to_python_module(PyObject *super)
Py_INCREF(module);
ret = PyModule_AddObject(super, "pychrysalide.analysis.binaries", module);
- result = (ret != 0);
+ result = (ret == 0);
result &= register_python_file_binary(module);