

def getValue(section, key, default=None):
    section = section.lower()
    key = key.lower()
    try:
        return loads(conf.get(section, key))
    except Exception:
        return default

dataset/ETHPy150Open rst2pdf/rst2pdf/rst2pdf/config.py getValue/original