.items()
-> .values()
This commit is contained in:
parent
1794da1f66
commit
ae0825650e
1 changed files with 1 additions and 1 deletions
|
@ -629,7 +629,7 @@ class Module(ModuleManager.BaseModule):
|
|||
winnings[bet][0]) for bet in winnings.keys()]
|
||||
|
||||
coin_winnings = DECIMAL_ZERO
|
||||
for odds, amount in winnings.items():
|
||||
for odds, amount in winnings.values():
|
||||
coin_winnings += amount # give back bet
|
||||
coin_winnings += amount*odds # give winnings
|
||||
coin_losses = sum(loss for loss in losses.values())
|
||||
|
|
Loading…
Reference in a new issue