summaryrefslogtreecommitdiff
path: root/lib/command_py.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command_py.c')
-rw-r--r--lib/command_py.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/command_py.c b/lib/command_py.c
index 4ec116df33..7f19008fbf 100644
--- a/lib/command_py.c
+++ b/lib/command_py.c
@@ -345,5 +345,7 @@ PyMODINIT_FUNC command_py_init(void)
PyModule_AddObject(pymod, "GraphNode", (PyObject *)&typeobj_graph_node);
Py_INCREF(&typeobj_graph);
PyModule_AddObject(pymod, "Graph", (PyObject *)&typeobj_graph);
+ if (!elf_py_init(pymod))
+ initret(NULL);
initret(pymod);
}