Revert last change and try alternate

Assumes that the player names cannot have a ':' or a ' ' in them
This commit is contained in:
Worros
2009-02-20 17:22:58 +09:00
parent 65821dbd2b
commit 81c92f9599
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -544,11 +544,11 @@ class Pot(object):
#print "returning %f to %s" % (lastbet, returnto)
self.total -= lastbet
self.committed[returnto] -= lastbet
# Work out side pots
commitsall = sorted([(v,k) for (k,v) in self.committed.items() if v >0])
self.pots = []
while len(commitsall) > 0:
commitslive = [(v,k) for (v,k) in commitsall if k in self.contenders]