configparser.ConfigParser.readfp renamed to read_file

This commit is contained in:
Alan Hamlett 2017-03-04 10:22:44 -08:00
parent 5324601bf3
commit 6379953b24

View file

@ -45,7 +45,7 @@ def parseConfigFile(configFile=None):
try:
with open(configFile, 'r', encoding='utf-8') as fh:
try:
configs.readfp(fh)
configs.read_file(fh)
except configparser.Error:
print(traceback.format_exc())
return None