xoa.cfgm.ConfigManager.reset¶
-
ConfigManager.reset(cfgfile='config.cfg', backup=True, nocomments=True, verbose=True)[source]¶ Reset a config file to default values
- Parameters
cfgfile (optional) – The configuration file to reset.
backup (optional) – Backup the old config file.
nocomments (optional) – Do not include comment in config file.
- Returns
ConfigObj– AConfigObjinstance
See also