From 941631c1e571162728e8d2d8562c6183011382bb Mon Sep 17 00:00:00 2001 From: Worros Date: Sat, 18 Oct 2008 14:16:24 +0800 Subject: [PATCH] Fix table detection for Full Tilt so it detects 6 max tables (others aren't verified) --- pyfpdb/Tables.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyfpdb/Tables.py b/pyfpdb/Tables.py index cb6209c8..6c131d91 100644 --- a/pyfpdb/Tables.py +++ b/pyfpdb/Tables.py @@ -212,9 +212,9 @@ def fulltilt_decode_table(tw): title_bits = re.split(' - ', tw.title) name = title_bits[0] tw.tournament = None - for pattern in [r' \(6 max\)', r' \(heads up\)', r' \(deep\)', - r' \(deep hu\)', r' \(deep 6\)', r' \(2\)', - r' \(edu\)', r' \(edu, 6 max\)', r' \(6\)' ]: + for pattern in [' (6 max)', ' (heads up)', ' (deep)', + ' (deep hu)', ' (deep 6)', ' (2)', + ' (edu)', ' (edu, 6 max)', ' (6)' ]: name = re.sub(pattern, '', name) # (tw.name, trash) = name.split(r' (', 1) tw.name = name.rstrip()