Check if creds are not empty

This commit is contained in:
augustin64 2024-04-10 10:29:53 +02:00
parent db157771de
commit ba66a96c65

View File

@ -41,4 +41,5 @@ class UserCredentials:
debug("No new credentials.")
def is_valid(self):
return self.current < self.total
return (self.current < self.total
and self.get_mail() != "" and self.get_mail is not None)