Revert last change and try alternate
Assumes that the player names cannot have a ':' or a ' ' in them
This commit is contained in:
+3
-3
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user