Update config call for newer versions of ConfigParser
ConfigParser now uses `read_file` instead of `readfp`.
This commit is contained in:
parent
f0f1e800ae
commit
de07dd3d40
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ class Configs:
|
|||
if not os.path.exists(path):
|
||||
return
|
||||
|
||||
self._config_parser.readfp(open(path))
|
||||
self._config_parser.read_file(open(path))
|
||||
|
||||
def get(self, name):
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue