From ea107b0daf88510a08e0b4a697fb3256eeb45645 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 23 Apr 2023 09:51:21 +0100 Subject: [PATCH] Item name --- webapp_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp_utils.py b/webapp_utils.py index 2132aaa5f..f2273ba82 100644 --- a/webapp_utils.py +++ b/webapp_utils.py @@ -2234,7 +2234,7 @@ def get_buy_links(post_json_object: str, translate: {}, buy_sites: {}) -> {}: if item.get('rel'): if item['rel'] in ('payment', 'donate', 'donation', 'buy', 'purchase'): - links[site.title()] = item['href'] + links[item_name] = item['href'] continue if buy_sites: # limited to an allowlist of buying sites