summaryrefslogtreecommitdiff
path: root/src/py_account.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/py_account.cc')
-rw-r--r--src/py_account.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/py_account.cc b/src/py_account.cc
index 59680a23..295ed9d7 100644
--- a/src/py_account.cc
+++ b/src/py_account.cc
@@ -105,7 +105,7 @@ namespace {
value_t py_amount_1(const account_t& account, const boost::optional<expr_t&>& expr)
{
- return account.amount(expr);
+ return account.amount(false, expr);
}
value_t py_total_0(const account_t& account)
@@ -133,6 +133,7 @@ void export_account()
class_< account_t::xdata_t::details_t > ("AccountXDataDetails")
.def_readonly("total", &account_t::xdata_t::details_t::total)
+ .def_readonly("real_total", &account_t::xdata_t::details_t::real_total)
.def_readonly("calculated", &account_t::xdata_t::details_t::calculated)
.def_readonly("gathered", &account_t::xdata_t::details_t::gathered)