woob.tools.config.iniconfig¶
- class INIConfig(path)[source]¶
Bases:
IConfig- ROOTSECT = 'ROOT'¶
- load(default={})[source]¶
Load config.
- Parameters:
default (dict[
str]) – default values for the config (default:{})
- get(*args, **kwargs)[source]¶
Get the value of an option.
- Parameters:
args – path of the option key.
default – if specified, default value when path is not found