                             "slice": "save"}
              }
          }
          self.defaults = self.set_defaults()
          self.kwargs = self.set_kwargs(handletype, filetype, command, action,
                                        variable)
          self.retfile = getattr(self, handletype.lower())()
  
      def set_defaults(self):
          """ Set the default filetype to be first in list of filetypes,
              or set a custom filetype if the first is not correct """
          defaults = {key: val[0][1].replace("*", "")
 
</s> remove     def set_kwargs(self, handletype, filetype, command, action, variable=None):
 </s> add     def set_kwargs(self, filetype, command, action, variable=None): </s> remove         if handletype.lower() in ("open", "save", "filename", "savefilename"):
 </s> add         if self.handletype.lower() == "context":
            self.set_context_handletype(command, action, variable)

        if self.handletype.lower() in (
                "open", "save", "filename", "savefilename"): </s> remove         if handletype.lower() == "context":
            kwargs["filetype"] = filetype
            kwargs["command"] = command
            kwargs["action"] = action
            kwargs["variable"] = variable
 </s> add  </s> remove         if handletype.lower() == "save":
 </s> add         if self.handletype.lower() == "save":
        self.kwargs = self.set_kwargs(filetype, command, action, variable)
        self.retfile = getattr(self, self.handletype.lower())()
                             "slice": "save"}
              }
          }
          self.defaults = self.set_defaults()
        self.kwargs = self.set_kwargs(filetype, command, action, variable)
        self.retfile = getattr(self, self.handletype.lower())()
        self.kwargs = self.set_kwargs(filetype, command, action, variable)
        self.retfile = getattr(self, self.handletype.lower())()
        self.kwargs = self.set_kwargs(filetype, command, action, variable)
        self.retfile = getattr(self, self.handletype.lower())()
  
      def set_defaults(self):
          """ Set the default filetype to be first in list of filetypes,
              or set a custom filetype if the first is not correct """
          defaults = {key: val[0][1].replace("*", "")
keep keep keep keep replace replace replace keep keep keep keep keep
 Gui - fix ffmpeg for windows 
lib/gui/utils.py