taler-merchant-demos

Python-based Frontends for the Demonstration Web site
Log | Files | Refs | Submodules | README | LICENSE

commit 2ee4743e81ff713bf59d9605d6d550a86053e892
parent de9f837e251c4f9986a0f4f2b4fec4f8d646e82b
Author: MS <ms@taler.net>
Date:   Fri, 11 Sep 2020 18:56:04 +0200

fix value extraction from config

Diffstat:
Mbin/taler-merchant-demos | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/taler-merchant-demos b/bin/taler-merchant-demos @@ -91,7 +91,7 @@ def handle_serve_http(config, whichShop, port=None): sys.exit(1) def handle_serve_from_config(config_obj, which_shop): - if config_obj.value_string("serve") == "http": + if config_obj.value_string("blog", "serve", required=False) == "http": http_port = config_obj.value_int(which_shop, "port") return handle_serve_http(config_obj, which_shop, http_port) handle_serve_uwsgi(config_obj, which_shop)