summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/core/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysa/core/module.c')
-rw-r--r--plugins/pychrysa/core/module.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/pychrysa/core/module.c b/plugins/pychrysa/core/module.c
index f42f08f..6c44197 100644
--- a/plugins/pychrysa/core/module.c
+++ b/plugins/pychrysa/core/module.c
@@ -30,6 +30,7 @@
#include "formats.h"
#include "params.h"
+#include "../access.h"
@@ -82,6 +83,9 @@ bool add_core_module_to_python_module(PyObject *super)
result &= register_python_formats(module);
result &= register_python_params(module);
+ if (result)
+ register_access_to_python_module("pychrysalide.core", module);
+
loading_failed:
assert(result);