diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2023-04-12 20:33:40 +0200 |
---|---|---|
committer | Alexis Hildebrandt <afh@surryhill.net> | 2023-04-12 21:53:11 +0200 |
commit | 9244a27f9548a1d39fb01348fde66ff81f5150a4 (patch) | |
tree | 0f9d06a762a9a9939e1f37be60cf2b5e47da7983 /src/textual.cc | |
parent | 5f78556078d2e61d5c0ef44e36d58f3864cd84d1 (diff) | |
download | fork-ledger-9244a27f9548a1d39fb01348fde66ff81f5150a4.tar.gz fork-ledger-9244a27f9548a1d39fb01348fde66ff81f5150a4.tar.bz2 fork-ledger-9244a27f9548a1d39fb01348fde66ff81f5150a4.zip |
Refactor python related types into ledger::python namespace
Diffstat (limited to 'src/textual.cc')
-rw-r--r-- | src/textual.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textual.cc b/src/textual.cc index 5276c92b..38142119 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -1257,7 +1257,7 @@ void instance_t::python_directive(char * line) python_session->initialize(); python_session->main_module->define_global - ("journal", python::object(python::ptr(context.journal))); + ("journal", boost::python::object(boost::python::ptr(context.journal))); python_session->eval(script.str(), python_interpreter_t::PY_EVAL_MULTI); } |