From 123a9937791dad616751ab9f3f896260fedbeec5 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 7 Feb 2022 15:56:15 +0200 Subject: [PATCH] cv --- files/classes/blackjack.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/files/classes/blackjack.py b/files/classes/blackjack.py index e9602db07..ddd53d2c7 100644 --- a/files/classes/blackjack.py +++ b/files/classes/blackjack.py @@ -1,6 +1,5 @@ from functools import reduce from json.encoder import INFINITY -from locale import currency import random from math import floor @@ -171,8 +170,7 @@ class Blackjack: setattr(user, kind, currency_value + wager_value + reward) - if kind == 'coins': - user.winnings += reward + user.winnings += reward self.db.add(user) - self.db.commit() + self.db.commit() \ No newline at end of file