mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-21 07:51:13 -05:00
Appeased pep8
This commit is contained in:
@@ -82,9 +82,10 @@ 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())
|
||||
])
|
||||
|
||||
|
||||
def create_uuid():
|
||||
|
||||
Reference in New Issue
Block a user