From 0ca4ff30e6a1f376cb0cfc8fd5af5f4d6bea0fc8 Mon Sep 17 00:00:00 2001 From: Piotr Banaszkiewicz Date: Sun, 16 Feb 2025 12:14:56 +0100 Subject: [PATCH] fix(#2737): Styling correction --- amy/emails/actions/new_membership_onboarding.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/amy/emails/actions/new_membership_onboarding.py b/amy/emails/actions/new_membership_onboarding.py index 268cf89cf..61cc01015 100644 --- a/amy/emails/actions/new_membership_onboarding.py +++ b/amy/emails/actions/new_membership_onboarding.py @@ -63,9 +63,7 @@ def new_membership_onboarding_strategy(membership: Membership) -> StrategyEnum: # email would be de-scheduled. # UPDATE 2025-02-15 (#2761): # We're allowing scheduling only for bronze, silver, gold or platinum variants. - email_should_exist = bool( - membership.pk and task_count and membership_acceptable_variant - ) + email_should_exist = bool(membership.pk and task_count and membership_acceptable_variant) if not email_exists and email_should_exist: result = StrategyEnum.CREATE