2019-01-15 Fred Gleason <fredg@paravelsystems.com>

* Replaced deprecated 'configparser' method call in the
	'pypad.Receiver::setConfigFile()' method.
This commit is contained in:
Fred Gleason
2019-01-15 17:43:37 -05:00
parent d71a22b020
commit 81049eec8e
2 changed files with 4 additions and 1 deletions

View File

@@ -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