From b26f4a09ce03d068617b17d1d964141a041b8e41 Mon Sep 17 00:00:00 2001 From: Eric Blade Date: Sun, 16 Aug 2009 04:22:22 -0500 Subject: [PATCH] Absolute: support Pot Limit and Fixed Limit ("Normal" as they call it) Configuration: Only trap the thrown error when checking for existence of site default paths, if not found set path to a reasonable ERROR message instead of "default" --- pyfpdb/AbsoluteToFpdb.py | 4 ++-- pyfpdb/Configuration.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pyfpdb/AbsoluteToFpdb.py b/pyfpdb/AbsoluteToFpdb.py index e8ac53ff..796e5e6e 100644 --- a/pyfpdb/AbsoluteToFpdb.py +++ b/pyfpdb/AbsoluteToFpdb.py @@ -41,7 +41,7 @@ class Absolute(HandHistoryConverter): #Seat 6 - FETS63 ($0.75 in chips) #Board [10s 5d Kh Qh 8c] - re_GameInfo = re.compile(ur"^Stage #([0-9]+): (?PHoldem|) (?PNo Limit|) (?P\$| €|)(?P[0-9]*[.0-9]+)", re.MULTILINE) + re_GameInfo = re.compile(ur"^Stage #([0-9]+): (?PHoldem|) (?PNo Limit|Pot Limit|Normal) (?P\$| €|)(?P[0-9]*[.0-9]+)", re.MULTILINE) re_HandInfo = re.compile(ur"^Stage #(?P[0-9]+): .*(?P\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d).*\nTable: (?P.*) \(Real Money\)", re.MULTILINE) re_Button = re.compile(ur"Seat #(?P