Rename constant for clarity

This commit is contained in:
Chris Hill-Scott
2022-05-04 15:04:06 +01:00
parent 784fe24a26
commit a136b92078
2 changed files with 4 additions and 5 deletions

View File

@@ -8,15 +8,14 @@ from app.main import main
from app.main.forms import SearchByNameForm
from app.main.views.sub_navigation_dictionaries import pricing_nav
SMS_RATE = '1.72'
CURRENT_SMS_RATE = '1.72'
@main.route('/pricing')
def pricing():
return render_template(
'views/pricing/index.html',
sms_rate=SMS_RATE,
sms_rate=CURRENT_SMS_RATE,
international_sms_rates=sorted([
(cc, country['names'], country['billable_units'])
for cc, country in INTERNATIONAL_BILLING_RATES.items()