mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-13 22:32:15 +00:00
Reorganisation of code in the extract-email tool
This commit is contained in:
@@ -33,8 +33,7 @@ for char in chars:
|
||||
name = unicodedata.normalize('NFKD', char.name).encode('ASCII', 'ignore')
|
||||
charname = re.sub('[^a-zA-Z0-9_-]+', '', name)
|
||||
if char.eveaccount_set.all()[0].user:
|
||||
email = char.eveaccount_set.all()[0].user.email
|
||||
out[charname.lower()] = email
|
||||
out[charname.lower()] = char.eveaccount_set.all()[0].user.email
|
||||
|
||||
|
||||
for key in out:
|
||||
|
||||
Reference in New Issue
Block a user