From 264d177b3e2d07d1bdb64fb58d9b54ec01190d99 Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Fri, 31 Mar 2023 16:06:35 -0700 Subject: [PATCH] More test failure troubleshooting --- __init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index 6684d3c..f56ba85 100644 --- a/__init__.py +++ b/__init__.py @@ -562,7 +562,7 @@ def handle_set_my_email(self, message: Message): self.speak_dialog("email_set_error", private=True) email_addr = self.get_gui_input(self.translate("word_email_title"), "test@neon.ai") - if not validate_email(email_addr): + if not email_addr or not validate_email(email_addr): LOG.warning(f"Invalid email_addr entered: {email_addr}") return