From 3331999434844822ff541ea92eba4e474964c0fb Mon Sep 17 00:00:00 2001 From: chirac Date: Mon, 27 Aug 2018 19:04:27 +0200 Subject: [PATCH] Update forms.py, user_source=None --- cotisations/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cotisations/forms.py b/cotisations/forms.py index 5b463a99..9194597a 100644 --- a/cotisations/forms.py +++ b/cotisations/forms.py @@ -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 = \