L4ys / LazyIDA

Make your IDA Lazy!
MIT License
1.07k stars 162 forks source link

fix: TypeError when get_highlight return None #23

Closed zeze-zeze closed 2 years ago

zeze-zeze commented 2 years ago

When there is nothing highlighted, the idaapi.get_highlight(idaapi.get_current_viewer()) will return None, which cause 'NoneType' object is not subscriptable to display in the output window.