      def output_results(self, items_output):
          """ Output the results in the requested format """
          if not items_output:
              logger.info("No %s were found meeting the criteria", self.type)
              return
          if self.output == "move":
              self.move_file(items_output)
 
</s> remove         if self.job in ("multi-faces", "leftover-faces"):
 </s> add         if self.job in ("multi-faces", "leftover-faces") and self.type == "faces": </s> remove         filename = "{}_{}.txt".format(self.output_message.replace(" ", "_").lower(), now)
        output_file = os.path.join(self.source_dir, filename)
 </s> add         dst_dir = self.get_output_folder()
        filename = "{}{}_{}.txt".format(self.get_filename_prefix(),
                                        self.output_message.replace(" ", "_").lower(),
                                        now)
        output_file = os.path.join(dst_dir, filename) </s> remove         iterator = self.process_video if self.vid_reader is not None else self.process_frames
 </s> add         iterator = self.process_video if self.is_video else self.process_frames
        logger.trace("items_output: %s", items_output)
        if self.output == "move" and self.is_video:
            logger.warning("Move was selected with an input video. This is not possible so "
                           "falling back to console output")
            self.output = "console"
      def output_results(self, items_output):
          """ Output the results in the requested format """
        logger.trace("items_output: %s", items_output)
        if self.output == "move" and self.is_video:
            logger.warning("Move was selected with an input video. This is not possible so "
                           "falling back to console output")
            self.output = "console"
          if not items_output:
              logger.info("No %s were found meeting the criteria", self.type)
              return
          if self.output == "move":
              self.move_file(items_output)
keep add keep keep keep keep keep
 Fix output for alignments tool tasks when input is a video 
tools/lib_alignments/jobs.py