diff --git a/pyfpdb/TableWindow.py b/pyfpdb/TableWindow.py index 31a94e3c..ec694c73 100644 --- a/pyfpdb/TableWindow.py +++ b/pyfpdb/TableWindow.py @@ -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)