This commit is contained in:
Aevann1 2022-02-07 15:56:15 +02:00
parent 68639ad91c
commit 95cb0f3ce8

View file

@ -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()