Changeset 3262

Show
Ignore:
Timestamp:
07/30/08 13:59:21 (5 years ago)
Author:
nopper
Message:

HackTab? fix

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branch/PacketManipulator/Tabs/HackTab.py

    r3260 r3262  
    174174                return False 
    175175 
    176             txt = func(args[0], txt) 
    177  
    178             if txt: 
    179                 args[0].set_selection(txt) 
    180                 return True 
    181  
    182             return False 
     176            try: 
     177                txt = func(args[0], txt) 
     178 
     179                if txt: 
     180                    args[0].set_selection(txt) 
     181                    return True 
     182                 
     183                return False 
     184            except Exception: 
     185                return False 
    183186 
    184187        return get_text