Skip to content

Commit

Permalink
Fixes wpn hud with multiple short tables.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChazDazzle committed Jan 9, 2017
1 parent 9e236a1 commit 870a07f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyfpdb/WinningToFpdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class Winning(HandHistoryConverter):
Game\sID:\s(?P<HID>\d+)\s
[%(NUM)s]+/[%(NUM)s]+\s
(?P<TABLE>.+?)\s
\(.+?\)$
\(Hold\'em|Omaha|Omaha\sHiLow|Seven\sCards\sStud|Seven\sCards\sStud\sHiLow\)$
""" % substitutions,
re.MULTILINE|re.VERBOSE
)
Expand Down Expand Up @@ -394,7 +394,7 @@ def readHandInfo(self, hand):
hand.tablename = info['TABLE']
buyin_type = self.re_buyinType.search(info['TABLE'])
if buyin_type:
hand.gametype['buyinType'] = buyin[buyin_type.group('BUYINTYPE')]
hand.gametype['buyinType'] = self.buyin[buyin_type.group('BUYINTYPE')]

def readButton(self, hand):
m = self.re_Button.search(hand.handText)
Expand Down

0 comments on commit 870a07f

Please sign in to comment.