Skip to content
Snippets Groups Projects
Commit 17f8b09d authored by psy's avatar psy
Browse files

fix multiline string

parent 091f4308
No related branches found
No related tags found
1 merge request!14Improved the credential email text.
...@@ -34,9 +34,9 @@ class User(UserMixin, db.Model): ...@@ -34,9 +34,9 @@ class User(UserMixin, db.Model):
# send login email # send login email
msg = Message('Your LOC transport tool credentials!', recipients=[self.login]) msg = Message('Your LOC transport tool credentials!', recipients=[self.login])
msg.body = 'Hi, na! \n\n' + msg.body = ('Hi, na! \n\n'
'Thank you for helping us keeping an overview of your transports :) \n' + 'Thank you for helping us keeping an overview of your transports :) \n'
'Here is your login link: {}'.format(url_for('login_with_token', token=token, _external=True)) 'Here is your login link: {}'.format(url_for('login_with_token', token=token, _external=True)))
mail.send(msg) mail.send(msg)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment