          """ Delete the face alignment for given frame at given index """
          logger.debug("Deleting face %s for frame '%s'", idx, frame)
          idx = int(idx)
          if idx + 1 > self.count_faces_in_frame(frame):
              logger.debug("No face to delete")
              return False
          del self.data[frame][idx]
          logger.debug("Deleted face")
          return True
  
 
</s> remove         logger.debug("Deleted face")
 </s> add         logger.debug("Deleted face: (frame: '%s', idx %s)", frame, idx) </s> remove         for frame in items_output:
            idx = frame[frame.rfind("_") + 1:frame.rfind(".")]
 </s> add         for frame, idx in items_output: </s> remove     def convert_one_face(self, converter, imagevars):
 </s> add     def convert_one_face(self, converter, image, face): </s> remove         filename, image, idx, face = imagevars

        if self.opts.check_skipface(filename, idx):
            return image

 </s> add 
            logger.debug("No face to delete: (frame: '%s', idx %s)", frame, idx)
          """ Delete the face alignment for given frame at given index """
          logger.debug("Deleting face %s for frame '%s'", idx, frame)
          idx = int(idx)
          if idx + 1 > self.count_faces_in_frame(frame):
            logger.debug("No face to delete: (frame: '%s', idx %s)", frame, idx)
              return False
          del self.data[frame][idx]
          logger.debug("Deleted face")
          return True
  
keep keep keep keep replace keep keep keep keep keep
 Add Face Hashes to Alignments (#550)

* Convert main scripts to use face hashes

* Alignment tool: Use hashes, add logging, add face rename function

* More logging. Update Manual tool to work with hashing 
lib/alignments.py