hud doesn't crash when mixing cash/tourney

This commit is contained in:
Eric Blade 2010-10-12 02:23:56 -04:00
parent 5643aeca62
commit 970b88349b

View File

@ -184,7 +184,11 @@ class Table_Window(object):
if new_title is None:
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:
#print "get_table_no: mo=",mo.groups()
return mo.group(1)