diff options
Diffstat (limited to 'common/pybindings.cc')
-rw-r--r-- | common/pybindings.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/pybindings.cc b/common/pybindings.cc index dad8e5c7..547d9b62 100644 --- a/common/pybindings.cc +++ b/common/pybindings.cc @@ -241,6 +241,7 @@ void init_python(const char *executable, bool first) Py_Initialize(); if (first) PyImport_ImportModule(TOSTRING(MODULE_NAME)); + PyRun_SimpleString("from " TOSTRING(MODULE_NAME) " import *"); } catch (boost::python::error_already_set const &) { // Parse and output the exception std::string perror_str = parse_python_exception(); |