[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-bank] branch master updated: Give defaults for debt
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-bank] branch master updated: Give defaults for debt limit |
Date: |
Fri, 24 Mar 2017 16:33:12 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new 5c2bdea Give defaults for debt limit
5c2bdea is described below
commit 5c2bdea4a38c5e23b6f3c91eb7ae859753b49129
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Mar 24 16:33:04 2017 +0100
Give defaults for debt limit
---
talerbank/settings_base.py | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/talerbank/settings_base.py b/talerbank/settings_base.py
index 1011b21..d93e7e7 100644
--- a/talerbank/settings_base.py
+++ b/talerbank/settings_base.py
@@ -174,8 +174,14 @@ STATIC_ROOT = '/tmp/talerbankstatic/'
TALER_CURRENCY = tc.value_string("taler", "currency", required=True)
-TALER_MAX_DEBT = tc.value_string("bank", "MAX_DEBT", required=True)
-TALER_MAX_DEBT_BANK = tc.value_string("bank", "MAX_DEBT_BANK", required=True)
+
+TALER_MAX_DEBT = tc.value_string("bank", "MAX_DEBT",
+ defaults="50 {}".format(TALER_CURRENCY),
+ required=True)
+
+TALER_MAX_DEBT_BANK = tc.value_string("bank", "MAX_DEBT_BANK",
+ defaults="0 {}".format(TALER_CURRENCY),
+ required=True)
TALER_DIGITS = 2
TALER_PREDEFINED_ACCOUNTS = ['Tor', 'GNUnet', 'Taler', 'FSF', 'Tutorial']
TALER_EXPECTS_DONATIONS = ['Tor', 'GNUnet', 'Taler', 'FSF']
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-bank] branch master updated: Give defaults for debt limit,
gnunet <=