Use GBP details when currency is GBP, without checking country

This commit is contained in:
Mark Veidemanis 2022-02-09 14:07:55 +00:00
parent 9d04db7205
commit 06e8662c21
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 1 additions and 1 deletions

View File

@ -572,7 +572,7 @@ class Agora(object):
# Substitute the currency # Substitute the currency
ad = ad.replace("$CURRENCY$", currency) ad = ad.replace("$CURRENCY$", currency)
if countrycode == "GB" and currency == "GBP": if currency == "GBP":
ad = ad.replace("$PAYMENT$", settings.Agora.GBPDetailsAd) ad = ad.replace("$PAYMENT$", settings.Agora.GBPDetailsAd)
paymentdetailstext = paymentdetails.replace("$PAYMENT$", settings.Agora.GBPDetailsPayment) paymentdetailstext = paymentdetails.replace("$PAYMENT$", settings.Agora.GBPDetailsPayment)
else: else: