From 7d1aa771d1bbac9b36be931528b33ac25d9ab3be Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 11 Oct 2023 20:18:11 +0300 Subject: [PATCH] fix 500 error --- files/routes/awards.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/routes/awards.py b/files/routes/awards.py index 910cf485ec..6a617338f9 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -111,6 +111,7 @@ def buy_award(v, kind, AWARDS): g.db.add(v) if CARP_ID and v.id != CARP_ID and og_price >= 5000: + award_title = AWARDS[kind]['title'] send_repeatable_notification(CARP_ID, f"@{v.username} has bought a `{award_title}` award!") return award_object