Sfoglia il codice sorgente

Fixed a typo

master
David Winterbottom 14 anni fa
parent
commit
ded76fddb8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      oscar/apps/payment/forms.py

+ 1
- 1
oscar/apps/payment/forms.py Vedi File

@@ -95,7 +95,7 @@ class BankcardMonthField(forms.MultiValueField):
95 95
         
96 96
         # Allow the number of years to be specified
97 97
         if 'num_years' in kwargs:
98
-            self.num_years = kwargs
98
+            self.num_years = kwargs['num_years']
99 99
             del kwargs['num_years']
100 100
         
101 101
         errors = self.default_error_messages.copy()

Loading…
Annulla
Salva