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 7d101cb02d
commit dc1ffffbb4
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
ad = ad.replace("$CURRENCY$", currency)
if countrycode == "GB" and currency == "GBP":
if currency == "GBP":
ad = ad.replace("$PAYMENT$", settings.Agora.GBPDetailsAd)
paymentdetailstext = paymentdetails.replace("$PAYMENT$", settings.Agora.GBPDetailsPayment)
else: