8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 15:33:45 +00:00

Update forms.py, user_source=None

This commit is contained in:
chirac 2018-08-27 19:04:27 +02:00
parent db198c46ad
commit 3331999434

View file

@ -243,7 +243,7 @@ class RechargeForm(FormRevMixin, Form):
label=_("Payment method")
)
def __init__(self, *args, user=None, user_source, **kwargs):
def __init__(self, *args, user=None, user_source=None, **kwargs):
self.user = user
super(RechargeForm, self).__init__(*args, **kwargs)
self.fields['payment'].empty_label = \