minor fix

This commit is contained in:
Miroslav Stampar 2012-01-20 00:11:19 +00:00
parent 9eee6c252d
commit de94bee7b5

View File

@ -50,9 +50,13 @@ class Connector:
return self.cursor
def close(self):
self.cursor.close()
self.connector.close()
self.closed()
try:
self.cursor.close()
self.connector.close()
except Exception, msg:
logger.debug(msg)
finally:
self.closed()
def checkFileDb(self):
if not os.path.exists(self.db):