Closed zeze-zeze closed 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.
idaapi.get_highlight(idaapi.get_current_viewer())
None
'NoneType' object is not subscriptable
When there is nothing highlighted, the
idaapi.get_highlight(idaapi.get_current_viewer())
will returnNone
, which cause'NoneType' object is not subscriptable
to display in the output window.