From 8f0704d6ba4bc53d6cd72cd2cdc6233d67274fd2 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 8 Sep 2021 19:44:43 +0200 Subject: [PATCH] fd --- files/routes/awards.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/routes/awards.py b/files/routes/awards.py index 69422d7cf..519dad67d 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -75,9 +75,9 @@ def shop(v): awards = [] if v.patron: for val in AWARDS.values(): - if v.patron == 1: val["price"] = int(val["price"]["price"]*0.90) - elif v.patron == 2: val["price"] = int(val["price"]["price"]*0.85) - elif v.patron == 3: val["price"] = int(val["price"]["price"]*0.80) + if v.patron == 1: val["price"] = int(val["price"]*0.90) + elif v.patron == 2: val["price"] = int(val["price"]*0.85) + elif v.patron == 3: val["price"] = int(val["price"]*0.80) elif v.patron == 4: val["price"] = int(val["price"]*0.75) else: val["price"] = int(val["price"]*0.70) awards.append(val)