mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 23:41:17 -05:00
Appeased pep8
This commit is contained in:
@@ -82,8 +82,9 @@ def init_app(app):
|
||||
|
||||
def email_safe(string):
|
||||
return "".join([
|
||||
character.lower() if character.isalnum() or character == "." else ""
|
||||
for character in re.sub("\s+", ".", string.strip())
|
||||
character.lower()
|
||||
if character.isalnum() or character == "."
|
||||
else "" for character in re.sub("\s+", ".", string.strip())
|
||||
])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user