master
Aevann1 2022-02-07 15:56:15 +02:00
parent 25a1a17185
commit 123a993779
1 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,5 @@
from functools import reduce from functools import reduce
from json.encoder import INFINITY from json.encoder import INFINITY
from locale import currency
import random import random
from math import floor from math import floor
@ -171,8 +170,7 @@ class Blackjack:
setattr(user, kind, currency_value + wager_value + reward) setattr(user, kind, currency_value + wager_value + reward)
if kind == 'coins': user.winnings += reward
user.winnings += reward
self.db.add(user) self.db.add(user)
self.db.commit() self.db.commit()