                                   config_section, item, default)
          logger.debug("Reset to default: %s", section)
  
      def save_config(self, section=None):
          """ Save config """
          logger.debug("Saving %s config", section)
          new_config = ConfigParser(allow_no_value=True)
          for config_section, items in self.config_dicts.items():
              logger.debug("Adding section: '%s')", config_section)
              self.config.insert_config_section(config_section, items["helptext"], config=new_config)
 
</s> remove         for config_section, items in self.config_dicts.items():
 </s> add         for config_section, items in self._config_dicts.items(): </s> remove             self.config.insert_config_section(config_section, items["helptext"], config=new_config)
 </s> add             self._config.insert_config_section(config_section,
                                               items["helptext"],
                                               config=new_config) </s> remove     def reset_config_default(self, section=None):
        """ Reset config to default values """
 </s> add     def reset_config_to_default(self, section=None):
        """ Reset the GUI parameters to their default configuration values.

        Parameters
        ----------
        section: str, optional
            The configuration section to reset the values for, If ``None`` provided then all
            sections are reset. Default: ``None``
        """ </s> remove                 default = options["default"]
 </s> add                 default = options.default </s> remove                 val = options["value"]
 </s> add                 val = options.value
        """ Save the configuration ``.ini`` file with the currently stored values.

        Parameters
        ----------
        section: str, optional
            The configuration section to save, If ``None`` provided then all sections are saved.
            Default: ``None``
        """
                                   config_section, item, default)
          logger.debug("Reset to default: %s", section)
  
      def save_config(self, section=None):
        """ Save the configuration ``.ini`` file with the currently stored values.

        Parameters
        ----------
        section: str, optional
            The configuration section to save, If ``None`` provided then all sections are saved.
            Default: ``None``
        """
          logger.debug("Saving %s config", section)
          new_config = ConfigParser(allow_no_value=True)
          for config_section, items in self.config_dicts.items():
              logger.debug("Adding section: '%s')", config_section)
              self.config.insert_config_section(config_section, items["helptext"], config=new_config)
keep keep keep keep 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