          """ Check whether passed in file has a valid extension """
          extension = os.path.splitext(filename)[1]
          return bool(extension in _image_extensions)
  
      @staticmethod
      def process_folder():
          """ Override for specific folder processing """
          return list()
 
</s> remove         number_faces = len(self.faces.items.get(image_name, []))
 </s> add         number_faces = len(self.faces.items.get(image_name, None)) </s> remove         self.file_list_sorted = sorted([item
                                        for item in self.process_folder()])
 </s> add         self.file_list_sorted = self.sorted_items()
    @staticmethod
    def sorted_items():
        """ Override for specific folder processing """
        return list()

          """ Check whether passed in file has a valid extension """
          extension = os.path.splitext(filename)[1]
          return bool(extension in _image_extensions)
  
    @staticmethod
    def sorted_items():
        """ Override for specific folder processing """
        return list()

      @staticmethod
      def process_folder():
          """ Override for specific folder processing """
          return list()
keep keep keep add keep keep keep keep
 Bugfix for renaming of faces (#485)

* Bugfix renaming of faces 
tools/alignments.py