diff options
Diffstat (limited to 'plugins/pychrysalide/analysis/contents/file.c')
-rw-r--r-- | plugins/pychrysalide/analysis/contents/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pychrysalide/analysis/contents/file.c b/plugins/pychrysalide/analysis/contents/file.c index b7a217a..f660656 100644 --- a/plugins/pychrysalide/analysis/contents/file.c +++ b/plugins/pychrysalide/analysis/contents/file.c @@ -63,7 +63,7 @@ static PyObject *py_file_content_new(PyTypeObject *type, PyObject *args, PyObjec GBinContent *content; /* Version GLib du contenu */ ret = PyArg_ParseTuple(args, "s", &filename); - if (!ret) Py_RETURN_NONE; + if (!ret) return NULL; content = g_file_content_new(filename); |