summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/common/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysa/common/module.c')
-rw-r--r--plugins/pychrysa/common/module.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/pychrysa/common/module.c b/plugins/pychrysa/common/module.c
index cc2623a..7ff7528 100644
--- a/plugins/pychrysa/common/module.c
+++ b/plugins/pychrysa/common/module.c
@@ -28,6 +28,7 @@
#include "bits.h"
#include "fnv1a.h"
#include "pathname.h"
+#include "../access.h"
@@ -81,6 +82,9 @@ bool add_common_module_to_python_module(PyObject *super)
result &= register_python_fnv1a(module);
result &= register_python_pathname(module);
+ if (result)
+ register_access_to_python_module("pychrysalide.common", module);
+
acmtpm_exit:
if (!result)