From 3febe073cc8e177f5fa9566e3cf5c237ae44681b Mon Sep 17 00:00:00 2001 From: Worros Date: Sun, 22 Feb 2009 12:42:16 +0900 Subject: [PATCH] Make FullTilt wrk with new importer --- pyfpdb/FulltiltToFpdb.py | 66 +++++++++++++++++++++------------------- pyfpdb/fpdb_import.py | 3 +- 2 files changed, 37 insertions(+), 32 deletions(-) diff --git a/pyfpdb/FulltiltToFpdb.py b/pyfpdb/FulltiltToFpdb.py index 8a4436fd..c884fc0e 100755 --- a/pyfpdb/FulltiltToFpdb.py +++ b/pyfpdb/FulltiltToFpdb.py @@ -72,22 +72,27 @@ class FullTilt(HandHistoryConverter): HandHistoryConverter.__init__(self, config, file, sitename="FullTilt") # Call super class init. self.sitename = "FullTilt" self.setFileType("text", "cp1252") - self.rexx.setGameInfoRegex('- \$?(?P[.0-9]+)/\$?(?P[.0-9]+) -') - self.rexx.setSplitHandRegex('\n\n+') - self.rexx.setHandInfoRegex('.*#(?P[0-9]+): Table (?P[- a-zA-Z]+) (\((?P.+)\) )?- \$?(?P[.0-9]+)/\$?(?P[.0-9]+) - (?P[a-zA-Z\' ]+) - (?P.*)') -# self.rexx.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
[- a-zA-Z]+) (\((?P.+)\) )?- \$?(?P[.0-9]+)/\$?(?P[.0-9]+) - (?P[a-zA-Z\' ]+) - (?P.*)') + self.re_Button = re.compile('The button is in seat #(?P