Working on PS HORSE file now..

This commit is contained in:
Matt Turnbull 2009-07-15 00:26:53 +01:00
parent 79ca83c95a
commit 35a5cffb77
2 changed files with 3 additions and 3 deletions

View File

@ -31,8 +31,8 @@ from xml.dom.minidom import Node
import time import time
import datetime import datetime
#import gettext import gettext
#gettext.install('fpdb') gettext.install('fpdb')
class HandHistoryConverter(): class HandHistoryConverter():

View File

@ -298,7 +298,7 @@ follow : whether to tail -f the input"""
hand.addHoleCards(street, hand.hero, closed=newcards, shown=False, mucked=False, dealt=True) hand.addHoleCards(street, hand.hero, closed=newcards, shown=False, mucked=False, dealt=True)
for street, text in hand.streets.iteritems(): for street, text in hand.streets.iteritems():
if street in ('PREFLOP', 'DEAL'): continue # already done these if not text or street in ('PREFLOP', 'DEAL'): continue # already done these
m = self.re_HeroCards.finditer(hand.streets[street]) m = self.re_HeroCards.finditer(hand.streets[street])
for found in m: for found in m:
player = found.group('PNAME') player = found.group('PNAME')