                  helptext = options["helptext"]
                  helptext = self.config.format_help(helptext, is_section=False)
                  new_config.set(config_section, helptext)
                  new_config.set(config_section, item, str(new_opt))
          self.config.config = new_config
          self.config.save_config()
          print("Saved config: '{}'".format(self.config.configfile))
          # Update config dict to newly saved
          self.config_dicts = self.get_config_dicts()
          logger.debug("Saved config")
  
  
  class ImagesCanvas(ttk.Frame):  # pylint:disable=too-many-ancestors
      """ Canvas to hold the images """
      def __init__(self, parent, tk_vars):
 
</s> remove                 helptext = options["helptext"]
                helptext = self.config.format_help(helptext, is_section=False)
 </s> add                     # Set config_dicts value to new saved value
                    options.set_initial_value(new_opt)
                helptext = self._config.format_help(options.helptext, is_section=False) </s> remove     """ Canvas to hold the images """
 </s> add     """ tkinter Canvas that holds the preview images.

    Parameters
    ----------
    parent: tkinter object
        The parent tkinter object that holds the canvas
    tk_vars: dict
        Global tkinter variables. `Refresh` and `Busy` :class:`tkinter.BooleanVar`
    """ </s> remove         self.config = Config(None)
        self.config_dicts = self.get_config_dicts()  # Holds currently saved config
 </s> add         self._config = Config(None) </s> remove     """ Saving and resetting config values and stores selected variables """
 </s> add     """ Tools for loading, saving, setting and retrieving configuration file values.

    Attributes
    ----------
    tk_vars: dict
        Global tkinter variables. `Refresh` and `Busy` :class:`tkinter.BooleanVar`
    """ </s> remove                     new_opt = options["value"]  # Keep saved item for other sections
 </s> add                     new_opt = options.value  # Keep saved item for other sections
        self._config.config = new_config
        self._config.save_config()
        logger.info("Saved config: '%s'", self._config.configfile)
                  helptext = options["helptext"]
                  helptext = self.config.format_help(helptext, is_section=False)
                  new_config.set(config_section, helptext)
                  new_config.set(config_section, item, str(new_opt))
        self._config.config = new_config
        self._config.save_config()
        logger.info("Saved config: '%s'", self._config.configfile)
        self._config.config = new_config
        self._config.save_config()
        logger.info("Saved config: '%s'", self._config.configfile)
        self._config.config = new_config
        self._config.save_config()
        logger.info("Saved config: '%s'", self._config.configfile)
        self._config.config = new_config
        self._config.save_config()
        logger.info("Saved config: '%s'", self._config.configfile)
        self._config.config = new_config
        self._config.save_config()
        logger.info("Saved config: '%s'", self._config.configfile)
        self._config.config = new_config
        self._config.save_config()
        logger.info("Saved config: '%s'", self._config.configfile)
  
  
  class ImagesCanvas(ttk.Frame):  # pylint:disable=too-many-ancestors
      """ Canvas to hold the images """
      def __init__(self, parent, tk_vars):
keep keep keep keep replace replace replace replace replace replace keep keep keep keep keep
 Smart Masks to Convert (#957)

- scripts.convert - Use Smart Masks for Convert
    * Make on-the-fly conversion an explicit option

- Move BlurMask to lib.faces_detect

- tools.preview - Fix for smart masks
    * Subclass from tk.Tk
    * Options to lib.gui.control_helper
    *variable cleanup

- lib.logger - Demote more tensorflow deprecation messages

- Documentation:
    * lib.faces_detect.BlurMask
    * plugins.convert.mask
    * lib.convert
    * scripts.convert
    * scripts.fsmedia
    * tools.preview 
tools/preview.py