def format_source_url(url):
 if sabnzbd.HAVE_SSL:
  prot = 'https'
 else:
  prot = 'http:'
 return url

def format_source_url ( url ) : if sabnzbd . HAVE_SSL : prot = 'https' else : prot = 'http:' return url
format url suitable for source stage .