summaryrefslogtreecommitdiff
path: root/pyledger.cc
diff options
context:
space:
mode:
Diffstat (limited to 'pyledger.cc')
-rw-r--r--pyledger.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/pyledger.cc b/pyledger.cc
index 81112d1a..08b69590 100644
--- a/pyledger.cc
+++ b/pyledger.cc
@@ -1,8 +1,10 @@
#include "py_eval.h"
+#include "session.h"
using namespace boost::python;
BOOST_PYTHON_MODULE(ledger)
{
- ledger::initialize_ledger_for_python();
+ ledger::initialize();
+ ledger::initialize_for_python();
}