              print("WARNING: missing_frames was selected with move output, but "
                    "there will be nothing to move. "
                    "Defaulting to output: console")
              self.output = "console"
          elif self.type == "faces" and self.job != "multi-faces" and self.job != "leftover-faces":
              print("WARNING: The selected folder is not valid. Only folder set "
                    "with '-fc' is supported for 'multi-faces' and 'leftover-faces'")
              exit(0)
  
      def compile_output(self):
          """ Compile list of frames that meet criteria """
          action = self.job.replace("-", "_")
 
</s> remove         elif hasattr(arguments, "frames_dir"):
 </s> add         elif hasattr(arguments, "frames_dir") and arguments.frames_dir: </s> remove                                           "missing-frames", "leftover-faces", "multi-faces",
                                          "no-faces", "reformat", "remove"),
 </s> add                                           "missing-frames", "leftover-faces",
                                          "multi-faces", "no-faces",
                                          "reformat", "remove"), </s> remove         if hasattr(arguments, "faces_dir"):
 </s> add         if hasattr(arguments, "faces_dir") and arguments.faces_dir: </s> remove             
        print("Done")
 </s> add  </s> remove             if frame_id not in self.alignments_data or self.alignments_data[frame_id] <= item[3]:
 </s> add             if (frame_id not in self.alignments_data
                    or self.alignments_data[frame_id] <= item[3]):
        elif self.type == "faces" and self.job not in ("multi-faces",
                                                       "leftover-faces"):
            print("WARNING: The selected folder is not valid. "
                  "Only folder set with '-fc' is supported for "
                  "'multi-faces' and 'leftover-faces'")
              print("WARNING: missing_frames was selected with move output, but "
                    "there will be nothing to move. "
                    "Defaulting to output: console")
              self.output = "console"
        elif self.type == "faces" and self.job not in ("multi-faces",
                                                       "leftover-faces"):
            print("WARNING: The selected folder is not valid. "
                  "Only folder set with '-fc' is supported for "
                  "'multi-faces' and 'leftover-faces'")
        elif self.type == "faces" and self.job not in ("multi-faces",
                                                       "leftover-faces"):
            print("WARNING: The selected folder is not valid. "
                  "Only folder set with '-fc' is supported for "
                  "'multi-faces' and 'leftover-faces'")
        elif self.type == "faces" and self.job not in ("multi-faces",
                                                       "leftover-faces"):
            print("WARNING: The selected folder is not valid. "
                  "Only folder set with '-fc' is supported for "
                  "'multi-faces' and 'leftover-faces'")
              exit(0)
  
      def compile_output(self):
          """ Compile list of frames that meet criteria """
          action = self.job.replace("-", "_")
keep keep keep keep replace replace replace keep keep keep keep keep
 Alignments Tool - Fix nonetype bug + linting (#484)

* Fix folder nonetype bug and linting 
tools/alignments.py