diff options
author | Priit Laes <plaes@plaes.org> | 2010-06-13 14:17:57 +0300 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-13 17:49:56 -0400 |
commit | d578395a65261ee297656d3df3a90756fb4c8b9c (patch) | |
tree | ea4400f9a323db6c7ce527eb5134fddcf7fc2b11 /python/demo.py | |
parent | 7ef478bc503f8a20ce0f9434e1ff45d9da2e84b7 (diff) | |
download | fork-ledger-d578395a65261ee297656d3df3a90756fb4c8b9c.tar.gz fork-ledger-d578395a65261ee297656d3df3a90756fb4c8b9c.tar.bz2 fork-ledger-d578395a65261ee297656d3df3a90756fb4c8b9c.zip |
Fix python demo: EUROPEAN was changed to DECIMAL_COMMA
Signed-off-by: Priit Laes <plaes@plaes.org>
Diffstat (limited to 'python/demo.py')
-rwxr-xr-x | python/demo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/demo.py b/python/demo.py index 7b4003f3..88931b17 100755 --- a/python/demo.py +++ b/python/demo.py @@ -67,8 +67,8 @@ assert not 'CAD' in comms # want all amounts to default to the European-style, set the static variable # `european_by_default'. -eur.add_flags(ledger.COMMODITY_STYLE_EUROPEAN) -assert eur.has_flags(ledger.COMMODITY_STYLE_EUROPEAN) +eur.add_flags(ledger.COMMODITY_STYLE_DECIMAL_COMMA) +assert eur.has_flags(ledger.COMMODITY_STYLE_DECIMAL_COMMA) assert not eur.has_flags(ledger.COMMODITY_STYLE_THOUSANDS) comms.european_by_default = True |