[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-blog] branch master updated: syntax
From: |
gnunet |
Subject: |
[taler-blog] branch master updated: syntax |
Date: |
Fri, 15 May 2020 08:40:48 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository blog.
The following commit(s) were added to refs/heads/master by this push:
new 0af88f0 syntax
0af88f0 is described below
commit 0af88f048419ea32a0732d8f0c6a4bb92ee16df1
Author: Florian Dold <address@hidden>
AuthorDate: Fri May 15 12:10:42 2020 +0530
syntax
---
talerblog/blog/blog.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/talerblog/blog/blog.py b/talerblog/blog/blog.py
index a0a9784..ae314cc 100644
--- a/talerblog/blog/blog.py
+++ b/talerblog/blog/blog.py
@@ -214,7 +214,7 @@ def refund(order_id):
session_id = flask.session.get("session_id", "")
pay_params = dict(order_id=order_id, session_id=session_id)
pay_status = backend_get("check-payment", pay_params)
- if not pay_status.paid:
+ if not pay_status.get("paid"):
err_abort(
402,
message="You did not pay for this article (nice try!)",
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-blog] branch master updated: syntax,
gnunet <=