From aea590dda1fde9736b089c6e4d44ea181eadd5b9 Mon Sep 17 00:00:00 2001 From: TLSM Date: Sat, 24 Sep 2022 19:39:30 -0400 Subject: [PATCH] Fix syntax error in 8b722f2075d5. --- files/routes/awards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/awards.py b/files/routes/awards.py index 3909bf555..5c3b9873f 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -176,7 +176,7 @@ def award_thing(v, thing_type, id): return {"error": "User is already permanently marsified!"}, 403 if v.id != author.id: - safe_username = if thing.ghost then "The post's author" else f"@{author.username}" + safe_username = "👻" if thing.ghost else f"@{author.username}" if author.deflector and v.deflector: msg = f"@{v.username} has tried to give your [{thing_type}]({thing.shortlink}) the {AWARDS[kind]['title']} Award but it was deflected on them, they also had a deflector up, so it bounced back and forth until it vaporized!"