Ver código fonte

Fixed a typo

master
David Winterbottom 14 anos atrás
pai
commit
ded76fddb8
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      oscar/apps/payment/forms.py

+ 1
- 1
oscar/apps/payment/forms.py Ver arquivo

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

Carregando…
Cancelar
Salvar