From d6ed72244b27596c4c5ba92cb1278a1524d229f7 Mon Sep 17 00:00:00 2001 From: = Date: Mon, 2 Oct 2017 09:29:19 +0200 Subject: Fix passing arguments to __init__ --- payments/stripe/widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'payments') diff --git a/payments/stripe/widgets.py b/payments/stripe/widgets.py index 2dc514f..fe2566d 100644 --- a/payments/stripe/widgets.py +++ b/payments/stripe/widgets.py @@ -48,4 +48,4 @@ class StripeWidget(HiddenInput): def __init__(self, attrs=None): attrs = dict(attrs or {}, id='id_stripe_token') - super(StripeWidget, self).__init__(self, attrs=None) + super(StripeWidget, self).__init__(attrs) -- cgit v1.2.3