def close(self):
        if not hasattr(self, '__db'):
            return 0
        self.__db.close()
        del self.__db
Close db connection
dataset/ETHPy150Open semk/Pytt/pytt/utils.py/Database.close