Item name

merge-requests/30/head
Bob Mottram 2023-04-23 09:51:21 +01:00
parent 54185bfb20
commit ea107b0daf
1 changed files with 1 additions and 1 deletions

View File

@ -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