[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:46:30 +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 5d7f582 typo
5d7f582 is described below
commit 5d7f5825fcc1b9203f85d34847716093b51b4c77
Author: Florian Dold <address@hidden>
AuthorDate: Thu Dec 19 11:46:27 2019 +0100
typo
---
talerbank/app/views.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index 4f36ba6..a74d033 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -1035,7 +1035,7 @@ def api_withdraw_operation(request, withdraw_id):
def check_transfer_allowed(balance, balance_is_debit, debt_limit,
transfer_amount):
- if amount_is_debit:
+ if balance_is_debit:
total_debt = Amount(**transfer_amount).add(balance)
return Amount.cmp(total_debt, debt_limit) <= 0
max_transfer = Amount(**balance).add(debt_limit)
--
To stop receiving notification emails like this one, please contact
address@hidden.