[FIX] previous fix of lp:1098699 did not return an integer

This commit is contained in:
Stefan Rijnhart
2013-01-14 16:21:11 +01:00
parent c4f1cec071
commit 8a4924e551

View File

@@ -278,7 +278,7 @@ class Transaction(object):
self.transaction.transactiontype = type_
self.transaction.accountno_beneficiary = accountno_beneficiary
self.transaction.accountno_payer = accountno_payer
self.transaction.amount = round(amount * 100)
self.transaction.amount = int(round(amount * 100))
if reference:
self.paymentreference.paymentreference = reference
# Allow long message lines to redistribute over multiple message