From 07ea1b0726cc9239b4612c3c5a35d54a3105b63f Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sat, 19 Nov 2016 19:55:39 +0100 Subject: fix confgen --- config/generate-config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/generate-config b/config/generate-config index 77ca390..9c8916f 100755 --- a/config/generate-config +++ b/config/generate-config @@ -18,8 +18,8 @@ def cfg_write(file): file.write(key + " = " + value + "\n") file.write("\n") -def coin(name, - currency, +def coin(currency, + name, value, d_overlap="5 minutes", d_withdraw="32 years", @@ -31,7 +31,7 @@ def coin(name, f_refund="0.10", rsa_keysize="2048"): sec = "coin_"+currency+"_"+name - cfg_put(sec, "value", currency+":"+value) + cfg_put(sec, "value", ""+currency+":"+value) cfg_put(sec, "duration_overlap", d_overlap) cfg_put(sec, "duration_withdraw", d_withdraw) cfg_put(sec, "duration_spend", d_spend) -- cgit v1.2.3