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 time
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
#import gettext
|
import gettext
|
||||||
#gettext.install('fpdb')
|
gettext.install('fpdb')
|
||||||
|
|
||||||
class HandHistoryConverter():
|
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)
|
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')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user