Working on PS HORSE file now..
This commit is contained in:
parent
79ca83c95a
commit
35a5cffb77
|
@ -31,8 +31,8 @@ from xml.dom.minidom import Node
|
|||
import time
|
||||
import datetime
|
||||
|
||||
#import gettext
|
||||
#gettext.install('fpdb')
|
||||
import gettext
|
||||
gettext.install('fpdb')
|
||||
|
||||
class HandHistoryConverter():
|
||||
|
||||
|
|
|
@ -298,7 +298,7 @@ follow : whether to tail -f the input"""
|
|||
hand.addHoleCards(street, hand.hero, closed=newcards, shown=False, mucked=False, dealt=True)
|
||||
|
||||
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])
|
||||
for found in m:
|
||||
player = found.group('PNAME')
|
||||
|
|
Loading…
Reference in New Issue
Block a user