From ef4f5289bb8ea8b8ce7fa301d2146d091b31b7e7 Mon Sep 17 00:00:00 2001 From: Gerko de Roo Date: Sun, 17 Jan 2010 19:54:40 +0100 Subject: [PATCH] Solved some merge issues --> Cards.py Issues Pokerstars when playing heads-up on ring games, being both on button and small blind now supported !!if not solved the winnings of the (button, small blind) is stored as rake!! Post both small and big blind when re-entering ring games solved --- pyfpdb/Card.py | 2 +- pyfpdb/PokerStarsToFpdb.py | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/pyfpdb/Card.py b/pyfpdb/Card.py index 22eab979..f33f08ed 100755 --- a/pyfpdb/Card.py +++ b/pyfpdb/Card.py @@ -61,7 +61,7 @@ def twoStartCards(value1, suit1, value2, suit2): ret = (13 * (value2-2) + (value2-2) ) + 1 elif suit1 == suit2: if value1 > value2: - ret = 13 * (value1-2) + (value2-2) + 1 + ret = 13 * (value1-2) + (value2-2) + 1 else: ret = 13 * (value2-2) + (value1-2) + 1 else: diff --git a/pyfpdb/PokerStarsToFpdb.py b/pyfpdb/PokerStarsToFpdb.py index 5e2f9c21..09bd0390 100755 --- a/pyfpdb/PokerStarsToFpdb.py +++ b/pyfpdb/PokerStarsToFpdb.py @@ -81,6 +81,7 @@ class PokerStars(HandHistoryConverter): re_Board = re.compile(r"\[(?P.+)\]") # self.re_setHandInfoRegex('.*#(?P[0-9]+): Table (?P[ a-zA-Z]+) - \$?(?P[.0-9]+)/\$?(?P[.0-9]+) - (?P.*) - (?P
[0-9]+):(?P[0-9]+) ET - (?P[0-9]+)/(?P[0-9]+)/(?P[0-9]+)Table (?P
[ a-zA-Z]+)\nSeat (?P