From fe5045b14f91fa2da0f800cf51ef5b776d005d37 Mon Sep 17 00:00:00 2001 From: eblade Date: Fri, 20 Feb 2009 02:44:06 -0500 Subject: [PATCH] hand error in checkPlayerExists will tell you why it failed --- pyfpdb/Hand.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyfpdb/Hand.py b/pyfpdb/Hand.py index 7cadbf3d..e8546237 100644 --- a/pyfpdb/Hand.py +++ b/pyfpdb/Hand.py @@ -159,6 +159,7 @@ Card ranks will be uppercased def checkPlayerExists(self,player): if player not in [p[1] for p in self.players]: + print "checkPlayerExists", player, "fail" raise FpdbParseError def discardHoleCards(self, cards, player):