minor fix

This commit is contained in:
Bernardo Damele 2012-07-16 09:56:41 +01:00
parent 88fd1299dc
commit bb8cd788e1

View File

@ -34,7 +34,7 @@ class Connector(GenericConnector):
try: try:
self.connector = pymysql.connect(host=self.hostname, user=self.user, passwd=self.password, db=self.db, port=self.port, connect_timeout=conf.timeout, use_unicode=True) self.connector = pymysql.connect(host=self.hostname, user=self.user, passwd=self.password, db=self.db, port=self.port, connect_timeout=conf.timeout, use_unicode=True)
except pymysql.OperationalError, msg: except (pymysql.OperationalError, pymysql.InternalError), msg:
raise sqlmapConnectionException, msg[1] raise sqlmapConnectionException, msg[1]
self.setCursor() self.setCursor()