summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/taler-merchant-demos3
-rw-r--r--talermerchantdemos/blog/blog.py1
-rw-r--r--talermerchantdemos/donations/donations.py1
3 files changed, 2 insertions, 3 deletions
diff --git a/bin/taler-merchant-demos b/bin/taler-merchant-demos
index 780582c..7ed69d7 100755
--- a/bin/taler-merchant-demos
+++ b/bin/taler-merchant-demos
@@ -47,6 +47,7 @@ def handle_serve_uwsgi(config, whichShop):
"--die-on-term",
"--log-format", UWSGI_LOGFMT,
"--module", "talermerchantdemos.{}:app".format(whichShop),
+ "--need-app",
"--cache2", "name=paid_articles,items=500"]
if serve_uwsgi == "tcp":
port = config[whichShop]["uwsgi_port"].value_int(required=True)
@@ -97,7 +98,7 @@ def handle_serve_http(config, whichShop, port=None):
@click.argument("which-shop")
def demos(config, serve_http, port, serve_uwsgi, which_shop):
"""
- WHICHSHOP is one of: blog, donations, or survey.
+ WHICH_SHOP is one of: blog, donations, or survey.
"""
if config:
os.environ["TALER_CONFIG_FILE"] = config
diff --git a/talermerchantdemos/blog/blog.py b/talermerchantdemos/blog/blog.py
index f079ecc..c54a8d6 100644
--- a/talermerchantdemos/blog/blog.py
+++ b/talermerchantdemos/blog/blog.py
@@ -24,7 +24,6 @@ import traceback
import uuid
import base64
import flask
-import lxml.etree
import time
import sys
from urllib.parse import urljoin, urlencode, urlparse
diff --git a/talermerchantdemos/donations/donations.py b/talermerchantdemos/donations/donations.py
index 614f730..7d4c9c6 100644
--- a/talermerchantdemos/donations/donations.py
+++ b/talermerchantdemos/donations/donations.py
@@ -20,7 +20,6 @@
import base64
import logging
import flask
-import lxml.etree
import os
import time
import traceback