From 6c1f23af04d30622bd10202ecc4aca7972f29038 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 8 Sep 2021 13:06:56 +0200 Subject: [PATCH] fd --- files/routes/awards.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/awards.py b/files/routes/awards.py index ccdea27211..84eca53f4b 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -79,7 +79,7 @@ def shop(v): def buy(v, award): if award not in AWARDS: abort(400) price = AWARDS[award]["price"] - if v.coins < price: return {"error": "Not enough coins!"}, 400 + if v.coins < price: return {"error": "Not enough coins."}, 400 v.coins -= price g.db.add(v) @@ -138,7 +138,7 @@ def get_awards(v): def award_post(pid, v): if v.is_suspended and v.unban_utc == 0: - return {"error": "forbidden"}, 403 + return {"error": "forbidden."}, 403 kind = request.form.get("kind", "")