summaryrefslogtreecommitdiff
path: root/talerblog/blog/blog.py
diff options
context:
space:
mode:
Diffstat (limited to 'talerblog/blog/blog.py')
-rw-r--r--talerblog/blog/blog.py2
1 files changed, 1 insertions, 1 deletions
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!)",