summaryrefslogtreecommitdiff
path: root/payments
diff options
context:
space:
mode:
author= <maarcin.gebala@gmail.com>2017-10-02 09:29:19 +0200
committer= <maarcin.gebala@gmail.com>2017-10-02 09:29:19 +0200
commitd6ed72244b27596c4c5ba92cb1278a1524d229f7 (patch)
treeb42b2fffaaa0fc70d5f8fd5d6bdc5a2ecff2b50f /payments
parent3e6526b6c844b9103d01c9c5b42a6aa3143589ee (diff)
downloaddjango-payments-taler-d6ed72244b27596c4c5ba92cb1278a1524d229f7.tar.gz
django-payments-taler-d6ed72244b27596c4c5ba92cb1278a1524d229f7.tar.bz2
django-payments-taler-d6ed72244b27596c4c5ba92cb1278a1524d229f7.zip
Fix passing arguments to __init__
Diffstat (limited to 'payments')
-rw-r--r--payments/stripe/widgets.py2
1 files changed, 1 insertions, 1 deletions
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)