human
Solve the following python programming problem given the following code:
def _write(self, data) : 
    def close_blob(blob) : 
        d = blob.close () 
        d.addCallback (self._blob_finished) 
        self.finished_deferreds.append (d) 
while (len (data) > 0) : 
        if (self.current_blob is None) : 
            next_blob_creator = self.blob_manager.get_blob_creator () 
            self.blob_count += 1 
            iv = self.iv_generator.next () 
            self.current_blob = self._get_blob_maker (iv, next_blob_creator) 
(done, num_bytes_written) = self.current_blob.write (data) 
        data = close_blob [num_bytes_written :] 
        if (done is True) : 
            close_blob (self.current_blob) 
            self.current_blob = None 

    
    

    Fix the buggy line: data = close_blob [num_bytes_written :]
assistant
#Here is Python code to fix the buggy line: data = close_blob [num_bytes_written :]
.

data = data [num_bytes_written :]