From ad3c6516cd435c08ffa6aa8f57520c49148891be Mon Sep 17 00:00:00 2001 From: Eratosthenes Date: Sat, 28 Aug 2010 09:25:41 -0400 Subject: [PATCH] PartyPokerToFpdb: Try again to fix STT HUD. --- pyfpdb/PartyPokerToFpdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyfpdb/PartyPokerToFpdb.py b/pyfpdb/PartyPokerToFpdb.py index 4b941d54..f61b5b7b 100755 --- a/pyfpdb/PartyPokerToFpdb.py +++ b/pyfpdb/PartyPokerToFpdb.py @@ -502,8 +502,8 @@ class PartyPoker(HandHistoryConverter): if type=="tour": TableName = table_name.split(" ") print 'party', 'getTableTitleRe', "%s.+Table\s#%s" % (TableName[0], table_number) - if table_number is None: - return "#%s" % (TableName[0]) + if len(TableName[1]) > 6: + return "#%s" % (table_number) else: return "%s.+Table\s#%s" % (TableName[0], table_number) else: