[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-bank] branch master updated: typo
From: |
gnunet |
Subject: |
[taler-bank] branch master updated: typo |
Date: |
Thu, 19 Dec 2019 11:48:41 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new cea717d typo
cea717d is described below
commit cea717d2978939c49b607c5d8aa2ade86c584d04
Author: Florian Dold <address@hidden>
AuthorDate: Thu Dec 19 11:48:02 2019 +0100
typo
---
talerbank/app/views.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index a74d033..191c2e1 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -1036,9 +1036,9 @@ def api_withdraw_operation(request, withdraw_id):
def check_transfer_allowed(balance, balance_is_debit, debt_limit,
transfer_amount):
if balance_is_debit:
- total_debt = Amount(**transfer_amount).add(balance)
+ total_debt = Amount(**transfer_amount.dump()).add(balance)
return Amount.cmp(total_debt, debt_limit) <= 0
- max_transfer = Amount(**balance).add(debt_limit)
+ max_transfer = Amount(**balance.dump()).add(debt_limit)
return Amount.cmp(transfer_amount, max_transfer) <= 0
--
To stop receiving notification emails like this one, please contact
address@hidden.