FIX: Any error returned from trying to signon to 32P is now logged as a str

This commit is contained in:
evilhero 2015-06-12 03:17:59 -04:00
parent dca9ca59a1
commit 35f7a1de47
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class info32p(object):
try:
s.get(self.url, verify=verify)
except requests.exceptions.SSLError as e:
logger.error(self.module + ' Unable to establish connection to 32P: ' + e)
logger.error(self.module + ' Unable to establish connection to 32P: ' + str(e))
# post to the login form
r = s.post(self.url, data=self.payload, verify=verify)