From 3c58e409e3bb1063705ea24ccb5680c2a155a5cf Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 22:42:26 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- accounts/views.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/accounts/views.py b/accounts/views.py index fa6ec66..afdbe18 100644 --- a/accounts/views.py +++ b/accounts/views.py @@ -145,12 +145,12 @@ def get_initial(self): Returns the initial data to use for forms on this view. """ initial = super().get_initial() - initial[ - "receive_program_updates" - ] = self.request.user.profile.receiving_program_updates - initial[ - "receive_event_updates" - ] = self.request.user.profile.receiving_event_updates + initial["receive_program_updates"] = ( + self.request.user.profile.receiving_program_updates + ) + initial["receive_event_updates"] = ( + self.request.user.profile.receiving_event_updates + ) initial["receive_newsletter"] = self.request.user.profile.receiving_newsletter return initial