fix compatibility with python2.6

This commit is contained in:
Romain Bignon 2013-01-16 17:50:29 +01:00
commit 78a5c3767f

View file

@ -59,7 +59,7 @@ class FrenchTransaction(Transaction):
elif len(credit) > 0:
self.amount = Decimal(credit)
else:
self.amount = 0.0
self.amount = Decimal('0')
def parse(self, date, raw):
"""