Extra buy strings

main
Bob Mottram 2023-04-23 10:11:29 +01:00
parent ea107b0daf
commit 0366577e8b
1 changed files with 1 additions and 0 deletions

View File

@ -2196,6 +2196,7 @@ def get_buy_links(post_json_object: str, translate: {}, buy_sites: {}) -> {}:
if translate.get(buy_str): if translate.get(buy_str):
buy_str = translate[buy_str] buy_str = translate[buy_str]
buy_strings += buy_str.lower() buy_strings += buy_str.lower()
buy_strings += ('Paypal', 'Stripe', 'Cashapp', 'Venmo')
for item in post_json_object['object']['attachment']: for item in post_json_object['object']['attachment']:
if not isinstance(item, dict): if not isinstance(item, dict):
continue continue