Check if creds are not empty
This commit is contained in:
parent
db157771de
commit
ba66a96c65
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user