Skip to content

Commit

Permalink
fix multiline string
Browse files Browse the repository at this point in the history
  • Loading branch information
danlipert committed Dec 26, 2019
1 parent 350392e commit b022e5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/marketing/mails.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,9 +439,9 @@ def send_user_feedback(quest, feedback, user):
try:
setup_lang(to_email)
subject = f"Your Gitcoin Quest \"{quest.title}\" has feedback from another user!"
body_str = f"Your quest: {quest.title} has feedback from user {user.profile.handle}:\n\n
\"{feedback}\n\n\"
to edit your quest, click <a href=\"{quest.edit_url}\">here</a>"
body_str = f("Your quest: {quest.title} has feedback from user {user.profile.handle}:\n\n"
"{feedback}\n\n\"
"to edit your quest, click <a href=\"{quest.edit_url}\">here</a>")
body = f"{body_str}"
if not should_suppress_notification_email(to_email, 'quest'):
send_mail(
Expand Down

0 comments on commit b022e5b

Please sign in to comment.