summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/py_amount.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/py_amount.cc b/python/py_amount.cc
index 4ec94132..bbd5fcb5 100644
--- a/python/py_amount.cc
+++ b/python/py_amount.cc
@@ -136,7 +136,9 @@ void export_amount()
.add_static_property("keep_date", &amount_t::keep_date)
.add_static_property("keep_tag", &amount_t::keep_tag)
- .add_static_property("stream_fullstrings", &amount_t::stream_fullstrings)
+ .add_static_property("stream_fullstrings",
+ make_getter(&amount_t::stream_fullstrings),
+ make_setter(&amount_t::stream_fullstrings))
#ifdef HAVE_GDTOA
.def(init<double>())