          return frames
  
  
  class Draw(object):
      """ Draw Alignments on passed in images """
      def __init__(self, alignments, arguments):
          self.verbose = arguments.verbose
          self.alignments = alignments
 
</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()
    def sorted_items(self):
        """ Return the items sorted by filename """
        return sorted([item for item in self.process_folder()])

          return frames
  
    def sorted_items(self):
        """ Return the items sorted by filename """
        return sorted([item for item in self.process_folder()])

  
  class Draw(object):
      """ Draw Alignments on passed in images """
      def __init__(self, alignments, arguments):
          self.verbose = arguments.verbose
          self.alignments = alignments
keep add keep keep keep keep keep keep
 Bugfix for renaming of faces (#485)

* Bugfix renaming of faces 
tools/alignments.py