Thinko - use right regex

This commit is contained in:
Worros 2009-02-25 01:27:10 +09:00
parent b38c62367a
commit 7fd90ce760

View File

@ -152,7 +152,7 @@ class FullTilt(HandHistoryConverter):
def readBringIn(self, hand): def readBringIn(self, hand):
print "DEBUG: reading bring in" print "DEBUG: reading bring in"
# print hand.string # print hand.string
m = self.re_Button.search(hand.string,re.DOTALL) m = self.re_BringIn.search(hand.string,re.DOTALL)
print "DEBUG: Player bringing in: %s for %s" %(m.group('PNAME'), m.group('BRINGIN')) print "DEBUG: Player bringing in: %s for %s" %(m.group('PNAME'), m.group('BRINGIN'))
def readButton(self, hand): def readButton(self, hand):