config: Minor refactor

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2022-10-01 14:17:16 -07:00 committed by James Valleroy
parent b607174434
commit 7ff050511c
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -97,7 +97,7 @@ class ConfigAppView(views.AppView):
if is_changed:
messages.success(self.request, _('Configuration updated'))
return super(views.AppView, self).form_valid(form)
return super().form_valid(form)
def set_hostname(hostname):