From f8fa56fb847c478bb52700b47dd65ca1b9a8b56f Mon Sep 17 00:00:00 2001 From: ariannedee Date: Wed, 26 Aug 2020 13:57:41 -0700 Subject: [PATCH] Don't show undue hardship error if they answered NO --- edivorce/apps/core/utils/conditional_logic.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/edivorce/apps/core/utils/conditional_logic.py b/edivorce/apps/core/utils/conditional_logic.py index 5ce0265e..c362138b 100644 --- a/edivorce/apps/core/utils/conditional_logic.py +++ b/edivorce/apps/core/utils/conditional_logic.py @@ -65,8 +65,9 @@ def determine_missing_undue_hardship_reasons(questions_dict): except json.JSONDecodeError: if value: return False - - return True + return True + else: + return False def determine_child_support_payor(questions_dict):