Tournement support for PartyPoker
This commit is contained in:
parent
0db3cecf65
commit
466988ea4a
|
@ -465,8 +465,9 @@ class PartyPoker(HandHistoryConverter):
|
||||||
def getTableTitleRe(type, table_name=None, tournament = None, table_number=None):
|
def getTableTitleRe(type, table_name=None, tournament = None, table_number=None):
|
||||||
"Returns string to search in windows titles"
|
"Returns string to search in windows titles"
|
||||||
if type=="tour":
|
if type=="tour":
|
||||||
print 'party', 'getTableTitleRe', "%s.+Table\s#%s" % (table_name, table_number)
|
TableName = table_name.split(" ")
|
||||||
return "%s.+Table\s#%s" % (table_name, table_number)
|
print 'party', 'getTableTitleRe', "%s.+Table\s#%s" % (TableName[0], table_number)
|
||||||
|
return "%s.+Table\s#%s" % (TableName[0], table_number)
|
||||||
else:
|
else:
|
||||||
print 'party', 'getTableTitleRe', table_number
|
print 'party', 'getTableTitleRe', table_number
|
||||||
return table_name
|
return table_name
|
||||||
|
|
Loading…
Reference in New Issue
Block a user