diff options
-rwxr-xr-x | config/generate-config | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/generate-config b/config/generate-config index ff37f75..b919121 100755 --- a/config/generate-config +++ b/config/generate-config @@ -216,7 +216,7 @@ def exchange_wf(envname, wfname, acct_no, name, standalone): @click.option("--shared-outdir", default=None) @click.option("--standalone", default=None, help="Enable a standalone/env deployment instead of test/demo") @click.option("--exchange-pub", required=True) -def main(currency, envname, outdir, shared-outdir, exchange_pub, standalone): +def main(currency, envname, outdir, shared_outdir, exchange_pub, standalone): if not standalone: if envname not in ("demo", "test"): @@ -253,15 +253,15 @@ def main(currency, envname, outdir, shared-outdir, exchange_pub, standalone): else: cfg_write(sys.stdout) - if shared-outdir: - d = os.path.join(shared-outdir, "merchant", "wire") + if shared_outdir: + d = os.path.join(shared_outdir, "merchant", "wire") os.makedirs(d, exist_ok=True) for name, data in merchant_wireformats: f = open(os.path.join(d, name+".json"), "w") f.write(data) f.close() - d = os.path.join(shared-outdir, "exchange", "wire") + d = os.path.join(shared_outdir, "exchange", "wire") os.makedirs(d, exist_ok=True) for name, data in exchange_wireformats: # These files must be signed by the exchange in |