From a297d092f43edf25724f6bf93e497f2580567294 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 15 Apr 2024 21:43:54 +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 fa6ec66a..afdbe185 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