Fix sb/bb - no need to convert

This commit is contained in:
Worros 2008-11-11 08:22:33 +10:00
parent d112c39c1c
commit 45b2b4b212
2 changed files with 5 additions and 3 deletions

View File

@ -73,8 +73,10 @@ class Everleaf(HandHistoryConverter):
gametype = ["ring", "hold", "nl"]
m = self.rexx.game_info_re.search(self.obs)
gametype = gametype + [self.float2int(m.group('SB'))]
gametype = gametype + [self.float2int(m.group('BB'))]
gametype = gametype + [m.group('SB')]
gametype = gametype + [m.group('BB')]
# gametype = gametype + [self.float2int(m.group('SB'))]
# gametype = gametype + [self.float2int(m.group('BB'))]
return gametype

View File

@ -129,7 +129,7 @@ class HandHistoryConverter:
def writeHand(self, file, hand):
"""Write out parsed data"""
print "%s Game #%s: %s (%d/%d) - %s" %(hand.sitename, hand.handid, "XXXXhand.gametype", hand.sb, hand.bb, hand.starttime)
print "%s Game #%s: %s ($%s/$%s) - %s" %(hand.sitename, hand.handid, "XXXXhand.gametype", hand.sb, hand.bb, hand.starttime)
print "Table '%s' %d-max Seat #%s is the button" %(hand.tablename, hand.maxseats, hand.buttonpos)
for player in hand.players: