def disable_monitor():
 try:
  adapt = get_monitor_adapter()
  if (not (adapt is None)):
   tmp = getoutput(('airmon-ng stop %s' % adapt))
   debug(('killed monitor adapter %s' % adapt))
 except Exception as j:
  Error(('error killing monitor adapter:%s' % j))

def disable_monitor ( ) : try : adapt = get_monitor_adapter ( ) if ( not ( adapt is None ) ) : tmp = getoutput ( ( 'airmon-ng stop %s' % adapt ) ) debug ( ( 'killed monitor adapter %s' % adapt ) ) except Exception as j : Error ( ( 'error killing monitor adapter:%s' % j ) )
kill the monitoring adapter .