summaryrefslogtreecommitdiff
path: root/src/pyinterp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pyinterp.h')
-rw-r--r--src/pyinterp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pyinterp.h b/src/pyinterp.h
index ae8dd9c2..c3397840 100644
--- a/src/pyinterp.h
+++ b/src/pyinterp.h
@@ -41,8 +41,9 @@ namespace ledger {
class python_interpreter_t : public session_t
{
public:
- python::dict main_nspace;
- bool is_initialized;
+ python::object main_module;
+ python::dict main_nspace;
+ bool is_initialized;
python_interpreter_t()
: session_t(), main_nspace(), is_initialized(false) {