load_config_rc#
- ams.utils.paths.load_config_rc(conf_path=None)[source]#
Load config from an rc-formatted file.
- Parameters:
- conf_pathNone or str
Path to the config file. If
None, the function returnsNonewithout reading.
- Returns:
- configparser.ConfigParser or None
Notes
Adapted from
andes.system.load_config_rc. Original author: Hantao Cui. License: GPL-3.0.