          -------
          int
              The total number of faces that have been extracted
          """
          logger.trace("Outputting frame: %s", filename)
          face_count = 0
          frame_name = os.path.splitext(filename)[0]
          faces = self._select_valid_faces(filename, image)
          if not faces:
              return face_count
 
</s> remove         self._faces = faces if faces else Faces(arguments.faces_dir, **kwargs)
 </s> add         if faces:
            self._faces = faces
        else:
            assert arguments is not None
            self._faces = Faces(arguments.faces_dir, **kwargs) </s> remove                 logger.verbose("Skipping '%s' - Alignments not found", frame_name)
 </s> add                 logger.verbose("Skipping '%s' - Alignments not found", frame_name)  # type:ignore </s> remove             logger.trace("Returning: '%s'", filename)
 </s> add             logger.trace("Returning: '%s'", filename)  # type:ignore </s> remove             logger.trace(frame)
 </s> add             logger.trace(frame)  # type:ignore
        logger.trace("Outputting frame: %s", filename)  # type:ignore
          -------
          int
              The total number of faces that have been extracted
          """
        logger.trace("Outputting frame: %s", filename)  # type:ignore
          face_count = 0
          frame_name = os.path.splitext(filename)[0]
          faces = self._select_valid_faces(filename, image)
          if not faces:
              return face_count
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Alignments tool - don't error on from-faces job 
tools/alignments/jobs.py