def get_ssl_option(): cert_file = config.get_cert_file() key_file = config.get_key_file() if cert_file != '' and key_file != '': return { 'certfile': cert_file, 'keyfile': key_file, } return None
def get_ssl_option(): cert_file = config.get_cert_file() key_file = config.get_key_file() if cert_file != "" and key_file != "": return { "certfile": cert_file, "keyfile": key_file, } return None