Execute a query in the DB

def db_exec(self, query, args=None):
        """
        Execute a query in the DB
        """
        if args is None:
            self.db_query(query)
        else:
            self.db_query(query, args)

        self.db.commit()