PartyPokerToFpdb: Allow HUD to find STTs.

This commit is contained in:
Eratosthenes 2010-08-27 10:53:33 -04:00
parent eef5fd28e8
commit 004dd80fc2

View File

@ -502,7 +502,10 @@ class PartyPoker(HandHistoryConverter):
if type=="tour":
TableName = table_name.split(" ")
print 'party', 'getTableTitleRe', "%s.+Table\s#%s" % (TableName[0], table_number)
return "%s.+Table\s#%s" % (TableName[0], table_number)
if table_number is None:
return "#%s" % (TableName[0])
else:
return "%s.+Table\s#%s" % (TableName[0], table_number)
else:
print 'party', 'getTableTitleRe', table_number
return table_name