summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfig/generate-config4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/generate-config b/config/generate-config
index be9de02..cef07d1 100755
--- a/config/generate-config
+++ b/config/generate-config
@@ -255,7 +255,7 @@ def merchant_wf(envname, acct_no, standalone):
salt="SALT"
)
- return (instance_name, json.dumps(data, indent=2))
+ return json.dumps(data, indent=2)
def exchange_wf(envname, wfname, acct_no, name, standalone):
if standalone:
@@ -317,7 +317,7 @@ def main(currency, envname, outdir, shared_outdir, exchange_pub, standalone):
d = os.path.join(shared_outdir, "merchant", "wire")
os.makedirs(d, exist_ok=True)
- for name, data in merchant_wireformats:
+ for data in merchant_wireformats:
filename = os.path.join(d, "merchant.json")
f = open(filename, "w")
f.write(data)