Improved read_config(). It's now PEP8-compliant