def get_prio(gtype, section):
 try:
  return sabnzbd.config.get_config(section, ('%s_prio_%s' % (section, gtype)))()
 except TypeError:
  logging.debug('Incorrect Notify option %s:%s_prio_%s', section, section, gtype)
  return (-1000)

def get_prio ( gtype , section ) : try : return sabnzbd . config . get_config ( section , ( '%s_prio_%s' % ( section , gtype ) ) ) ( ) except TypeError : logging . debug ( 'Incorrect Notify option %s:%s_prio_%s' , section , section , gtype ) return ( - 1000 )
check if gtype is enabled in section .