From 30de5142dba66468236c09eb2079ba7a099d2800 Mon Sep 17 00:00:00 2001 From: Eratosthenes Date: Wed, 27 Jan 2010 00:57:58 -0500 Subject: [PATCH] Ugly fix to ugly edge case where winner voluntarily showed cards. --- pyfpdb/FulltiltToFpdb.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyfpdb/FulltiltToFpdb.py b/pyfpdb/FulltiltToFpdb.py index 1721236a..44b6890e 100755 --- a/pyfpdb/FulltiltToFpdb.py +++ b/pyfpdb/FulltiltToFpdb.py @@ -268,7 +268,8 @@ class Fulltilt(HandHistoryConverter): players = [] for a in m: - hand.addPlayer(int(a.group('SEAT')), a.group('PNAME'), a.group('CASH')) + if not re.search(" collected", a.group('PNAME')): + hand.addPlayer(int(a.group('SEAT')), a.group('PNAME'), a.group('CASH')) def markStreets(self, hand): # PREFLOP = ** Dealing down cards **