From 04834bbea2984400b3a3d33ed4e32fc04affff1f Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 6 Jul 2023 11:34:33 +0200 Subject: 🚧 work on autofocus fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/forms.py') diff --git a/ishtar_common/forms.py b/ishtar_common/forms.py index 5a2e14b02..338c49bfc 100644 --- a/ishtar_common/forms.py +++ b/ishtar_common/forms.py @@ -191,7 +191,7 @@ class CustomForm(BSForm): self.current_user = kwargs.pop("user").ishtaruser except AttributeError: pass - super(CustomForm, self).__init__(*args, **kwargs) + super().__init__(*args, **kwargs) if not self._explicit_ordering: self.custom_form_ordering() -- cgit v1.2.3