          """
          logger.info("Sorting and checking faces...")
          aln_sorted = {}
          for fname, frames in alignments.items():
              this_file = {}
              for frame in tqdm(sorted(frames), desc=f"Sorting {fname}", leave=False):
                  this_file[frame] = []
                  for real_idx, (f_id, alignment, f_path, f_src) in enumerate(sorted(frames[frame])):
                      if real_idx != f_id:
                          self._update_png_header(f_path, real_idx, alignment, f_src)
 
</s> remove         aln_sorted = {}
 </s> add         aln_sorted: Dict[str, Dict[str, List[AlignmentFileDict]]] = {} </s> remove             The alignments file dictionaries sorted into the correct face order, ready for savind
 </s> add             The alignments file dictionaries sorted into the correct face order, ready for saving </s> remove         d_align = {}
 </s> add         d_align: Dict[str, Dict[str, List[Tuple[int, AlignmentFileDict, str, dict]]]] = {} </s> remove                 logger.trace("Adding image '%s' to skip list due to extract_every_n = %s",
                             item["frame_fullname"], skip_num)
 </s> add                 logger.trace("Adding image '%s' to skip list due to "  # type:ignore
                             "extract_every_n = %s", item["frame_fullname"], skip_num) </s> remove             logger.trace(frame)
 </s> add             logger.trace(frame)  # type:ignore
            this_file: Dict[str, List[AlignmentFileDict]] = {}
          """
          logger.info("Sorting and checking faces...")
          aln_sorted = {}
          for fname, frames in alignments.items():
            this_file: Dict[str, List[AlignmentFileDict]] = {}
              for frame in tqdm(sorted(frames), desc=f"Sorting {fname}", leave=False):
                  this_file[frame] = []
                  for real_idx, (f_id, alignment, f_path, f_src) in enumerate(sorted(frames[frame])):
                      if real_idx != f_id:
                          self._update_png_header(f_path, real_idx, alignment, f_src)
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Alignments tool - don't error on from-faces job 
tools/alignments/jobs.py