diff options
Diffstat (limited to 'config/generate-config')
-rwxr-xr-x | config/generate-config | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/generate-config b/config/generate-config index 0448910..55cceae 100755 --- a/config/generate-config +++ b/config/generate-config @@ -205,6 +205,14 @@ def main(currency, envname, outdir, exchange_pub, standalone): print("envname {} not supported unless in standalone mode".format(envname)) return + # We have the --standalone option as 0/1 instead of as a flag, + # since this way it's easier to read it from an environment variable + # in shell scripts. + if standalone == "1": + standalone = True + else: + standalone = False + config(currency, envname, exchange_pub, standalone == "1") merchant_wireformats = [ |