diff options
Diffstat (limited to 'Lib/logging/config.py')
| -rw-r--r-- | Lib/logging/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/logging/config.py b/Lib/logging/config.py index 63193b1..c90591b 100644 --- a/Lib/logging/config.py +++ b/Lib/logging/config.py @@ -63,7 +63,7 @@ def fileConfig(fname, defaults=None, disable_existing_loggers=True): cp = configparser.ConfigParser(defaults) if hasattr(fname, 'readline'): - cp.readfp(fname) + cp.read_file(fname) else: cp.read(fname) |
