Don't check for IDA Pro if it is dissabled (#439)

pull/444/head
Benedikt Werner 8 years ago committed by Disconnect3d
parent e225ba9f64
commit 0736dbd1c7

@ -88,6 +88,8 @@ class withIDA(object):
functools.update_wrapper(self, fn) functools.update_wrapper(self, fn)
def __call__(self, *args, **kwargs): def __call__(self, *args, **kwargs):
if not ida_enabled:
return None
if _ida is None: if _ida is None:
init_ida_rpc_client() init_ida_rpc_client()
if _ida is not None: if _ida is not None:

Loading…
Cancel
Save