From cb90147303fd831378c8cc3bed0af14d4a831244 Mon Sep 17 00:00:00 2001 From: Worros Date: Thu, 9 Sep 2010 16:26:37 +0800 Subject: [PATCH] iPoker: Minor update to determineGameType --- pyfpdb/iPokerToFpdb.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyfpdb/iPokerToFpdb.py b/pyfpdb/iPokerToFpdb.py index 400de2fa..a2b2b829 100644 --- a/pyfpdb/iPokerToFpdb.py +++ b/pyfpdb/iPokerToFpdb.py @@ -71,12 +71,13 @@ class iPoker(HandHistoryConverter): sitename = "iPoker" filetype = "text" codepage = "cp1252" - siteID = 11 + siteID = 13 # Static regexes re_SplitHands = re.compile(r'\n+(?=)') - re_GameInfo = re.compile(r'', re.MULTILINE) + re_GameInfo = re.compile(r'(?P[a-zA-Z0-9 ]+) \$(?P[.0-9]+)/\$(?P[.0-9]+)', re.MULTILINE) +# \$(?P[.0-9]+)\/\$(?P[.0-9]+)<\/gametype>', re.MULTILINE) re_HandInfo = re.compile(r'[0-9]+)">') re_PlayerInfo = re.compile(r'', re.MULTILINE)