          if err:
              logger.error(err)
              exit(0)
          logger.verbose("Creating output folder at '%s'", self.faces_dir)
          os.makedirs(self.faces_dir)
  
      def export_faces(self):
          """ Export the faces """
          extracted_faces = 0
  
 
</s> remove         elif os.path.isdir(self.faces_dir):
            err = "ERROR: Folder already exists at {}".format(self.faces_dir)
 </s> add         elif not os.path.isdir(self.faces_dir):
            logger.debug("Creating folder: '%s'", self.faces_dir)
            os.makedirs(self.faces_dir)
        elif os.listdir(self.faces_dir):
            err = "ERROR: Output faces folder should be empty: '{}'".format(self.faces_dir) </s> remove         logger.info("Loading file list from %s", self.folder)
 </s> add 
          if err:
              logger.error(err)
              exit(0)
          logger.verbose("Creating output folder at '%s'", self.faces_dir)

  
      def export_faces(self):
          """ Export the faces """
          extracted_faces = 0
  
keep keep keep keep replace keep keep keep keep keep
 Alignments tool: Allow empty folder/non existant folder for extract 
tools/lib_alignments/jobs.py