From b41adb12f72df17edfc8eb7f147327cf800e5d50 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Mon, 23 Sep 2024 22:54:46 -0700 Subject: [PATCH] Update blackjack.py --- modules/blackjack.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/blackjack.py b/modules/blackjack.py index 5aba964..052e32a 100644 --- a/modules/blackjack.py +++ b/modules/blackjack.py @@ -267,9 +267,6 @@ def playBlackJack(nodeID, message): bet_money = 5 else: bet_money = bet_money - # handle # message - if bet_money != 0: - bet_money = int(bet_money) else: bet_money = int(message) @@ -278,7 +275,7 @@ def playBlackJack(nodeID, message): else: return f"Invalid Bet, the maximum bet you can place is {p_chips.total}" except ValueError: - return f"Invalid Bet, the maximum bet you can place is {p_chips.total}" + return f"Invalid Bet, the maximum bet, {p_chips.total}" # Show the cards msg += show_some(p_cards, d_cards, p_hand)