From 06e8662c219ffab2f06ca80ae5f338252b382209 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Wed, 9 Feb 2022 14:07:55 +0000 Subject: [PATCH] Use GBP details when currency is GBP, without checking country --- handler/agora.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler/agora.py b/handler/agora.py index b425e70..3dd9333 100644 --- a/handler/agora.py +++ b/handler/agora.py @@ -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: