taler-merchant-demos

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

commit 9ab9af94148123ea23a71a79cf549599e20273d0
parent 4aaa49e49b9422ed955e071a3176856c9bc54ad5
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun,  6 Sep 2020 10:51:06 +0200

-trial fix

Diffstat:
Mtalermerchantdemos/blog/blog.py | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/talermerchantdemos/blog/blog.py b/talermerchantdemos/blog/blog.py @@ -39,9 +39,8 @@ if not sys.version_info.major == 3 and sys.version_info.minor >= 6: BASE_DIR = os.path.dirname(os.path.abspath(__file__)) -app = flask.Flask(__name__, template_folder=BASE_DIR) +app = flask.Flask(__name__, template_folder=BASE_DIR, static_folder='T') app.secret_key = base64.b64encode(os.urandom(64)).decode("utf-8") -app.config['STATIC_FOLDER'] = 'T' LOGGER = logging.getLogger(__name__) TC = TalerConfig.from_env()