pep8 fixed

This commit is contained in:
Martyn Inglis
2016-03-16 14:08:25 +00:00
parent 27d48a9746
commit 6ceddf0ebf

View File

@@ -94,10 +94,8 @@ 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()) # noqa
])
def create_uuid():