mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-14 14:41:13 +02:00
2019-01-15 Fred Gleason <fredg@paravelsystems.com>
* Replaced deprecated 'configparser' method call in the 'pypad.Receiver::setConfigFile()' method.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user