                  else:
                      extract_media.remove_image()
                      # cache extract_media for next run
                      detected_faces[extract_media.filename] = extract_media
                  status_bar.update(1)
  
              if not is_final:
                  logger.debug("Reloading images")
                  self._threaded_redirector("reload", detected_faces)
          if not self._args.skip_saving_faces:
 
</s> remove     def _check_thread_error(self):
 </s> add     def _check_thread_error(self) -> None: </s> remove             desc = "Running pass {} of {}: {}".format(phase + 1,
                                                      self._extractor.passes,
                                                      ph_desc)
            status_bar = tqdm(self._extractor.detected_faces(),
                              total=self._images.process_count,
                              file=sys.stdout,
                              desc=desc)
            for idx, extract_media in enumerate(status_bar):
 </s> add             desc = f"Running pass {phase + 1} of {self._extractor.passes}: {ph_desc}"
            for idx, extract_media in enumerate(tqdm(self._extractor.detected_faces(),
                                                     total=self._images.process_count,
                                                     file=sys.stdout,
                                                     desc=desc)): </s> remove     def _output_faces(self, saver, extract_media):
 </s> add     def _output_faces(self, saver: ImagesSaver, extract_media: ExtractMedia) -> None: </s> remove     def _set_skip_list(self):
 </s> add     def _set_skip_list(self) -> None:
                  else:
                      extract_media.remove_image()
                      # cache extract_media for next run
                      detected_faces[extract_media.filename] = extract_media

  
              if not is_final:
                  logger.debug("Reloading images")
                  self._threaded_redirector("reload", detected_faces)
          if not self._args.skip_saving_faces:
keep keep keep keep replace keep keep keep keep keep
 bugfix: extract - stop progress bar from going over max value 
scripts/extract.py