                                                        **kwargs)
          return cls._instances[cls]
  
  
  class FileHandler(object):
      """ Raise a filedialog box and capture input """
  
      def __init__(self, handletype, filetype, command=None, action=None,
                   variable=None):
  
 
</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         self.kwargs = self.set_kwargs(handletype, filetype, command, action,
                                      variable)
        self.retfile = getattr(self, handletype.lower())()
 </s> add         self.kwargs = self.set_kwargs(filetype, command, action, variable)
        self.retfile = getattr(self, self.handletype.lower())()
class FileHandler():
                                                        **kwargs)
          return cls._instances[cls]
  
  
class FileHandler():
      """ Raise a filedialog box and capture input """
  
      def __init__(self, handletype, filetype, command=None, action=None,
                   variable=None):
  
keep keep keep keep replace keep keep keep keep keep
 Gui - fix ffmpeg for windows 
lib/gui/utils.py