summaryrefslogtreecommitdiff
path: root/python/modules/IcePy/Init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'python/modules/IcePy/Init.cpp')
-rw-r--r--python/modules/IcePy/Init.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/modules/IcePy/Init.cpp b/python/modules/IcePy/Init.cpp
index 0a594104b61..337298eed97 100644
--- a/python/modules/IcePy/Init.cpp
+++ b/python/modules/IcePy/Init.cpp
@@ -26,6 +26,7 @@
#include <Proxy.h>
#include <Slice.h>
#include <Types.h>
+#include <ValueFactoryManager.h>
#include <Ice/Initialize.h>
using namespace std;
@@ -230,6 +231,10 @@ initIcePy(void)
{
INIT_RETURN;
}
+ if(!initValueFactoryManager(module))
+ {
+ INIT_RETURN;
+ }
#if PY_VERSION_HEX >= 0x03000000
return module;