From 30a87f5941147fd6016767276fe5cbf1b43c7ae0 Mon Sep 17 00:00:00 2001 From: MS Date: Wed, 22 Jul 2020 15:54:46 +0200 Subject: Installing donations (css not found) --- bin/.taler-merchant-demos.swp | Bin 16384 -> 0 bytes bin/taler-merchant-demos | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 bin/.taler-merchant-demos.swp diff --git a/bin/.taler-merchant-demos.swp b/bin/.taler-merchant-demos.swp deleted file mode 100644 index 8e0faa9..0000000 Binary files a/bin/.taler-merchant-demos.swp and /dev/null differ diff --git a/bin/taler-merchant-demos b/bin/taler-merchant-demos index de847af..b4ac156 100755 --- a/bin/taler-merchant-demos +++ b/bin/taler-merchant-demos @@ -82,8 +82,8 @@ def handle_serve_http(config, whichShop, port=None): @click.option("--serve-http", help="Serve via HTTP", is_flag=True, required=False) @click.option("--port", help="HTTP port to serve (if not given, it's picked from config)", required=False, type=int) @click.option("--serve-uwsgi", help="Serve via UWSGI (default)", required=False) -@click.argument("whichShop") -def demos(config, serve_http, port, serve_uwsgi, whichShop): +@click.argument("which-shop") +def demos(config, serve_http, port, serve_uwsgi, which_shop): """ WHICHSHOP is one of: blog, donations, or survey. """ @@ -91,8 +91,8 @@ def demos(config, serve_http, port, serve_uwsgi, whichShop): os.environ["TALER_CONFIG_FILE"] = config config_obj = TalerConfig.from_file(os.environ.get("TALER_CONFIG_FILE")) if serve_http: # port was given - handle_serve_http(config_obj, whichShop, port) + handle_serve_http(config_obj, which_shop, port) return - handle_serve_uwsgi(config_obj, whichShop) + handle_serve_uwsgi(config_obj, which_shop) demos() -- cgit v1.2.3