diff --git a/ChangeLog b/ChangeLog index d340bc99..7ccc8af0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18381,3 +18381,6 @@ 2019-01-15 Fred Gleason * Fixed a bug in rdlogedit(1) that caused indicated meter levels to be 5 dB too high for incoming signals in the voicetracker dialog. +2019-01-15 Fred Gleason + * Replaced deprecated 'configparser' method call in the + 'pypad.Receiver::setConfigFile()' method. diff --git a/apis/pypad/api/pypad.py b/apis/pypad/api/pypad.py index 27cbd245..bf5f0fac 100644 --- a/apis/pypad/api/pypad.py +++ b/apis/pypad/api/pypad.py @@ -807,7 +807,7 @@ class Receiver(object): else: # Get the config from a file fp=open(filename) self.__config_parser=configparser.ConfigParser(interpolation=None) - self.__config_parser.readfp(fp) + self.__config_parser.read_file(fp) fp.close() return self.__config_parser