summaryrefslogtreecommitdiff
path: root/src/py_session.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/py_session.cc')
-rw-r--r--src/py_session.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/py_session.cc b/src/py_session.cc
index 25d13cc0..5253dba3 100644
--- a/src/py_session.cc
+++ b/src/py_session.cc
@@ -61,6 +61,8 @@ void export_session()
.def("read_journal_files", &session_t::read_journal_files,
return_internal_reference<>())
.def("close_journal_files", &session_t::close_journal_files)
+ .def("journal", &session_t::get_journal,
+ return_internal_reference<>())
;
scope().attr("session") =