diff --git a/files/routes/awards.py b/files/routes/awards.py index f8f472dda..a4a38d571 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -171,7 +171,7 @@ def award_thing(v, thing_type, id): else: safe_username = f"@{author.username}" - if SITE == 'rdrama.net' and author.id in (PIZZASHILL_ID, CARP_ID): + if SITE == 'rdrama.net' and author.id in {PIZZASHILL_ID, CARP_ID}: abort(403, f"{safe_username} is immune to awards.") if kind == "benefactor" and author.id == v.id: