Parse users without email

This commit is contained in:
Nico Krapp 2022-10-25 10:21:28 +02:00
parent 10cd7e4e38
commit bab8309d32
No known key found for this signature in database
GPG Key ID: AC35CFFF55212BC7

View File

@ -3,6 +3,8 @@ class Users:
self.userid = userid self.userid = userid
self.realname = xml.find("realname").text self.realname = xml.find("realname").text
self.email = xml.find("email").text self.email = xml.find("email").text
if self.email == None:
self.email = ""
return self return self