  
          if (loadtype == "Frames" and
                  os.path.isfile(self.folder) and
                  os.path.splitext(self.folder)[1] in _video_extensions):
              logger.verbose("Video exists at : '%s'", self.folder)
              retval = imageio.get_reader(self.folder)
          else:
              logger.verbose("Folder exists at '%s'", self.folder)
              retval = None
          return retval
 
</s> remove         if self.vid_reader is not None:
 </s> add         if self.is_video: </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         if self.vid_reader is not None:
 </s> add         if self.is_video:
            logger.verbose("Video exists at: '%s'", self.folder)
  
          if (loadtype == "Frames" and
                  os.path.isfile(self.folder) and
                  os.path.splitext(self.folder)[1] in _video_extensions):
            logger.verbose("Video exists at: '%s'", self.folder)
              retval = imageio.get_reader(self.folder)
          else:
              logger.verbose("Folder exists at '%s'", self.folder)
              retval = None
          return retval
keep keep keep keep replace keep keep keep keep keep
 Fix output for alignments tool tasks when input is a video 
tools/lib_alignments/media.py