Skip to content

Commit

Permalink
More test failure troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Mar 31, 2023
1 parent 506e1bd commit 264d177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
"[email protected]")
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

Expand Down

0 comments on commit 264d177

Please sign in to comment.