fix formatting

This commit is contained in:
Son NK 2020-01-30 00:18:31 +07:00
parent 48edb85fc9
commit e810c99970
1 changed files with 1 additions and 3 deletions

View File

@ -47,9 +47,7 @@ def register():
flash(f"Email {email} already used", "error")
else:
LOG.debug("create user %s", form.email.data)
user = User.create(
email=email, name="", password=form.password.data,
)
user = User.create(email=email, name="", password=form.password.data,)
db.session.commit()
send_activation_email(user, next_url)