gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-merchant-demos] branch master updated: fix value extraction


From: gnunet
Subject: [taler-taler-merchant-demos] branch master updated: fix value extraction from config
Date: Fri, 11 Sep 2020 18:56:22 +0200

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository taler-merchant-demos.

The following commit(s) were added to refs/heads/master by this push:
     new 2ee4743  fix value extraction from config
2ee4743 is described below

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

    fix value extraction from config
---
 bin/taler-merchant-demos | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/taler-merchant-demos b/bin/taler-merchant-demos
index 02de05e..58c72d0 100755
--- 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)

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]