      @property
      def total_count(self):
          """ Return the total number of frames to be converted """
          if self.frame_ranges and not self.args.keep_unchanged:
              retval = sum([fr[1] - fr[0] for fr in self.frame_ranges])
          else:
              retval = self.images.images_found
          logger.debug(retval)
          return retval
  
 
</s> remove         filename = os.path.splitext(filename)[0]
 </s> add         filename = os.path.splitext(os.path.basename(filename))[0] </s> remove     def output_filename(self, filename):
        """ Return the output filename with the correct folder and extension """
        out_filename = "{}.{}".format(os.path.splitext(filename)[0], self.config["format"])
        out_filename = os.path.join(self.output_folder, out_filename)
        logger.trace("in filename: '%s', out filename: '%s'", filename, out_filename)
        return out_filename

 </s> add  </s> remove         out_filename = "{}.{}".format(os.path.splitext(filename)[0], self.config["format"])
 </s> add         filename = os.path.splitext(os.path.basename(filename))[0]
        out_filename = "{}.{}".format(filename, self.config["format"]) </s> remove import os
 </s> add 
            retval = sum([fr[1] - fr[0] + 1 for fr in self.frame_ranges])
      @property
      def total_count(self):
          """ Return the total number of frames to be converted """
          if self.frame_ranges and not self.args.keep_unchanged:
            retval = sum([fr[1] - fr[0] + 1 for fr in self.frame_ranges])
          else:
              retval = self.images.images_found
          logger.debug(retval)
          return retval
  
keep keep keep keep replace keep keep keep keep keep
 Bugfixes [convert[: Correct output folder. Correct tqdm for skipped frames. 
scripts/convert.py