hud doesn't crash when mixing cash/tourney
This commit is contained in:
parent
5643aeca62
commit
970b88349b
|
@ -184,7 +184,11 @@ class Table_Window(object):
|
||||||
if new_title is None:
|
if new_title is None:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
mo = re.search(self.tableno_re, new_title)
|
try:
|
||||||
|
mo = re.search(self.tableno_re, new_title)
|
||||||
|
except AttributeError: #'Table' object has no attribute 'tableno_re'
|
||||||
|
return False
|
||||||
|
|
||||||
if mo is not None:
|
if mo is not None:
|
||||||
#print "get_table_no: mo=",mo.groups()
|
#print "get_table_no: mo=",mo.groups()
|
||||||
return mo.group(1)
|
return mo.group(1)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user