taler-merchant-demos

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

commit 0760498b8d84bd6658184b6baa9fdb5745b96b9c
parent 943100018fc087e3293e93722c2ebc183607bb2f
Author: MS <ms@taler.net>
Date:   Fri, 28 Apr 2023 18:37:42 +0200

removing redundant condition

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

diff --git a/talermerchantdemos/blog/blog.py b/talermerchantdemos/blog/blog.py @@ -483,7 +483,7 @@ def article(article_name, lang=None, data=None): # In this case, we can now redirect the browser to the URL that # triggers the wallet. - if flask.request.cookies.get("order_id") and order_status != "paid": + if flask.request.cookies.get("order_id"): LOGGER.info("Redirecting (with order_id cookies) to", redirect_url) return flask.redirect(redirect_url)