fixed cisco asa bug with checking for api key

This commit is contained in:
Nicholas St. Germain 2018-12-18 20:35:58 -06:00
parent 67b98d57ea
commit 6665891b65

View file

@ -114,7 +114,7 @@ class INIParser(object):
url = self.url_check(self.config.get(section, 'url'))
apikey = None
if section != 'ciscoasa':
if service != 'ciscoasa':
apikey = self.config.get(section, 'apikey')
scheme = 'https://' if self.config.getboolean(section, 'ssl') else 'http://'