From 81049eec8ee1f12d439001d76c2ec959ce4fb49b Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Tue, 15 Jan 2019 17:43:37 -0500 Subject: [PATCH] 2019-01-15 Fred Gleason * Replaced deprecated 'configparser' method call in the 'pypad.Receiver::setConfigFile()' method. --- ChangeLog | 3 +++ apis/pypad/api/pypad.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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