              # Avoid a ref-cycle if the thread is running a function with
              # an argument that has a member that points to the thread.
              del self._target, self._args, self._kwargs
  
      def get_result(self):
          """ Return the result from the given task.
  
          Returns
          -------
          varies:
 
</s> remove             self.err = sys.exc_info()
 </s> add             self.err = cast(Tuple[Type[BaseException], BaseException, "TracebackType"],
                            sys.exc_info())
            assert self.err is not None </s> remove     def run(self):
 </s> add     def run(self) -> None: </s> remove     def set_faceswap_output_path(self, location):
 </s> add     def set_faceswap_output_path(self, location: str, batch_mode: bool = False) -> None: </s> remove     def _set_dummy_master(cls):
 </s> add     def _set_dummy_master(cls) -> Optional[tk.Frame]: </s> remove     handle_type: ['open', 'save', 'filename', 'filename_multi', 'save_filename', 'context', `dir`]
 </s> add     handle_type: ['open', 'save', 'filename', 'filename_multi', 'save_filename', 'context', 'dir']
    def get_result(self) -> Any:
              # Avoid a ref-cycle if the thread is running a function with
              # an argument that has a member that points to the thread.
              del self._target, self._args, self._kwargs
  
    def get_result(self) -> Any:
          """ Return the result from the given task.
  
          Returns
          -------
          varies:
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Preview for extract in batch mode 
lib/gui/utils.py