From ae0825650e6d936e21be055cd6b63a7d521413ec Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 23 Oct 2018 13:39:40 +0100 Subject: [PATCH] `.items()` -> `.values()` --- modules/coins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/coins.py b/modules/coins.py index 2522865b..ca16ef56 100644 --- a/modules/coins.py +++ b/modules/coins.py @@ -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())