summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-04-26 12:56:42 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-04-26 12:56:42 +0200
commit83d5b2782a02a825ddcd0fe593ec9467d6037dfe (patch)
tree9f9df2f76ccc35ee107fb5fb6d10a6501742e3ed /config
parentfaab50be573a3d1bb7f694b992ac748795fb5ef8 (diff)
downloaddeployment-83d5b2782a02a825ddcd0fe593ec9467d6037dfe.tar.gz
deployment-83d5b2782a02a825ddcd0fe593ec9467d6037dfe.tar.bz2
deployment-83d5b2782a02a825ddcd0fe593ec9467d6037dfe.zip
missing {}
Diffstat (limited to 'config')
-rwxr-xr-xconfig/generate-config8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/generate-config b/config/generate-config
index 5f2ba55..07bf864 100755
--- a/config/generate-config
+++ b/config/generate-config
@@ -119,12 +119,12 @@ def config(currency, envname, exchange_pub, standalone):
else:
cfg_put("frontends", "backend", "https://backend.{}.taler.net/".format(envname))
- cfg_put("exchange-".format(currency), "master_key", exchange_pub)
- cfg_put("exchange-".format(currency), "currency", currency)
+ cfg_put("exchange-{}".format(currency), "master_key", exchange_pub)
+ cfg_put("exchange-{}".format(currency), "currency", currency)
if standalone:
- cfg_put("exchange-".format(currency), "base_url", "https://env.taler.net/{}/exchange".format(os.getenv("USER")))
+ cfg_put("exchange-{}".format(currency), "base_url", "https://env.taler.net/{}/exchange".format(os.getenv("USER")))
else:
- cfg_put("exchange-".format(currency), "base_url", "https://exchange.{}.taler.net/".format(envname))
+ cfg_put("exchange-{}".format(currency), "base_url", "https://exchange.{}.taler.net/".format(envname))
cfg_put("auditor", "auditor_priv_file", "${TALER_DEPLOYMENT_SHARED}/auditor/offline-keys/auditor.priv")