break less badly on a hand which I can't handle at the moment

This commit is contained in:
Matt Turnbull 2008-12-20 22:52:47 +00:00
parent da41e8e2ce
commit a6c2152be4

View File

@ -576,5 +576,7 @@ class Pot(object):
elif len(self.pots) == 3:
return "Total pot $%.2f Main pot $%.2f. Side pot-1 $%2.2f. Side pot-2 $%.2f." % (self.total, self.pots[0], self.pots[1], self.pots[2])
else:
return "too many pots.. fix me.", self.pots
return "maybe no pot.. or too many pots.. no small blind and walk in bb?."
# I don't know stars format for a walk in the bb when sb doesn't post.
# The thing to do here is raise a Hand error like fpdb import does and file it into errors.txt