FTtoFpdb: default buyin to $0.00+$0.00 and level to 0, they don't seem to be in the FT hh

This commit is contained in:
eblade 2009-07-30 20:56:39 -04:00
parent 3ce0f91b27
commit c400fd9ba7
2 changed files with 7 additions and 1 deletions

View File

@ -177,6 +177,12 @@ follow : whether to tail -f the input"""
if m.group('PLAY') != None: if m.group('PLAY') != None:
hand.gametype['currency'] = 'play' hand.gametype['currency'] = 'play'
# TODO: if there's a way to figure these out, we should.. otherwise we have to stuff it with unknowns
if hand.buyin == None:
hand.buyin = "$0.00+$0.00"
if hand.level == None:
hand.level = "0"
# These work, but the info is already in the Hand class - should be used for tourneys though. # These work, but the info is already in the Hand class - should be used for tourneys though.
# m.group('SB') # m.group('SB')
# m.group('BB') # m.group('BB')