From a4ca026c19b05298843692c9aca4102048d3b63e Mon Sep 17 00:00:00 2001 From: julianajlk Date: Fri, 25 Oct 2019 16:28:33 -0400 Subject: [PATCH] add missing parameter to discount_percentage --- openedx/features/discounts/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openedx/features/discounts/utils.py b/openedx/features/discounts/utils.py index 1e19621f0f..8f4dd88303 100644 --- a/openedx/features/discounts/utils.py +++ b/openedx/features/discounts/utils.py @@ -113,7 +113,7 @@ def get_first_purchase_offer_banner_fragment(user, course): '
' ), discount_expiration_date=discount_expiration_date.strftime(u'%B %d'), - percentage=discount_percentage(), + percentage=discount_percentage(course), span_close=HTML(''), div_close=HTML('
'), strikeout_price=HTML(format_strikeout_price(user, course, check_for_discount=False)[0])