diff --git a/.gitignore b/.gitignore deleted file mode 100644 index f3d74a9a..00000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -*.pyc -*~ diff --git a/pyfpdb/AbsoluteToFpdb.py b/pyfpdb/AbsoluteToFpdb.py index 503c1f4e..796e5e6e 100644 --- a/pyfpdb/AbsoluteToFpdb.py +++ b/pyfpdb/AbsoluteToFpdb.py @@ -26,6 +26,12 @@ from HandHistoryConverter import * # Class for converting Absolute HH format. class Absolute(HandHistoryConverter): + + # Class Variables + sitename = "Absolute" + filetype = "text" + codepage = "cp1252" + siteid = 8 # Static regexes re_SplitHands = re.compile(r"\n\n\n+") @@ -35,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