if dont have site and BB in lookupLimit table, just halve them for
sb,bb. Should work for higher limits almost always anyway, and there are a finite number of ulimits which we should already have in the table
This commit is contained in:
parent
904c108813
commit
cfbf57dd1b
|
@ -329,7 +329,13 @@ Map the tuple self.gametype onto the pokerstars string describing it
|
||||||
"4" : ("1", "2")
|
"4" : ("1", "2")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return betlist[self.sitename][self.bb]
|
try:
|
||||||
|
ret = betlist[self.sitename][self.bb]
|
||||||
|
except:
|
||||||
|
logging.warning("Don't know the small blind/big blind size for %s, big bet size %s." % (self.sitename, self.bb))
|
||||||
|
ret = (Decimal(self.sb)/2,Decimal(self.bb)/2)
|
||||||
|
|
||||||
|
return ret
|
||||||
|
|
||||||
|
|
||||||
def writeHand(self, fh=sys.__stdout__):
|
def writeHand(self, fh=sys.__stdout__):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user