diff --git a/counter/views.py b/counter/views.py index 4176e3ba..6262b6dd 100644 --- a/counter/views.py +++ b/counter/views.py @@ -1540,7 +1540,7 @@ class StudentCardFormFragmentView(FormView): def form_valid(self, form): data = form.clean() - res = super(FormView, self).form_valid(form) + res = super().form_valid(form) StudentCard(customer=self.customer, uid=data["uid"]).save() return res