Skip to content

Commit

Permalink
Fix an incompatible super() call in StripeEnumField
Browse files Browse the repository at this point in the history
  • Loading branch information
michi88 authored and jleclanche committed Jul 12, 2018
1 parent 9383f72 commit 110021e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djstripe/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def __init__(self, enum, *args, **kwargs):
super(StripeEnumField, self).__init__(*args, **defaults)

def deconstruct(self):
name, path, args, kwargs = super().deconstruct()
name, path, args, kwargs = super(StripeEnumField, self).deconstruct()
kwargs["enum"] = self.enum
del kwargs["choices"]
return name, path, args, kwargs
Expand Down

0 comments on commit 110021e

Please sign in to comment.