From adbe8037168db7e4c75f07634b846f5dca29c382 Mon Sep 17 00:00:00 2001 From: fireworks88 Date: Tue, 27 Jul 2021 18:50:40 +0200 Subject: [PATCH] sneed --- drama/routes/awards.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drama/routes/awards.py b/drama/routes/awards.py index 3c50c3a820..50f473b159 100644 --- a/drama/routes/awards.py +++ b/drama/routes/awards.py @@ -82,7 +82,7 @@ def award_post(pid, v): post_award.submission_id = post.id g.db.add(post_award) - msg = f"Your [post]({post.permalink}) was given the {AWARDS[kind]['title']} Award!" + msg = f"@{v.username} has given your [post]({post.permalink}) was given the {AWARDS[kind]['title']} Award!" note = request.form.get("note", "") if note: @@ -142,7 +142,7 @@ def award_comment(cid, v): comment_award.comment_id = c.id g.db.add(comment_award) - msg = f"Your [comment]({c.permalink}) was given the {AWARDS[kind]['title']} Award!" + msg = f"@{v.username} has given your [comment]({c.permalink}) was given the {AWARDS[kind]['title']} Award!" note = request.form.get("note", "") if note: