diff --git a/lib/users.py b/lib/users.py index 65abdf8..8862603 100644 --- a/lib/users.py +++ b/lib/users.py @@ -3,6 +3,8 @@ class Users: self.userid = userid self.realname = xml.find("realname").text self.email = xml.find("email").text + if self.email == None: + self.email = "" return self